Stage/apply lines
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 10.6k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
This is a feature request.
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 this feature be implemented in libgit itself so that other language wrappers can benefit too?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the linked nodegit implementation and the libgit2 interfaces for staging hunks or files first. Define how selecting individual lines should work in libgit2 and how completion can be verified for language wrappers, since no specific files or tests are named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, git
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100