You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an useful feature in git (gui) clients to be able to select individual lines to stage and commit, not just hunks or files. I saw that nodegit implemented it a good while back. Can git2-rs have a feature like that too?
nodegit seems to be replacing the selected lines in the affected blob and then calculating a new diff based on that.
If it's not against some design principle of git2-rs, I'd be happy to implement it too with some design guidance.
The text was updated successfully, but these errors were encountered:
git2-rs is just a wrapper around libgit2 - this would be the appropriate place to add this. that being said I would love to see libgit2 support this feature👍
Thanks for the quick response. I opened a feature request with libgit2 too. In the meanwhile I'll go on and do it in rust for my project as I can't help writing it in C...
It's an useful feature in git (gui) clients to be able to select individual lines to stage and commit, not just hunks or files. I saw that nodegit implemented it a good while back. Can git2-rs have a feature like that too?
nodegit seems to be replacing the selected lines in the affected blob and then calculating a new diff based on that.
If it's not against some design principle of git2-rs, I'd be happy to implement it too with some design guidance.
The text was updated successfully, but these errors were encountered: