libgit2 / libgit2/libgit2sharp
Stage method stages also conflicted files
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When i am working with libgit2sharp i have noticed that once i am using repo.stage("*") it also stages conflicted files (if they exist), which causes the conflicted to be resolved....
I would have been expecting that the repo.stage("*") will have some kind of configuration of "staging all except conflicted files".
Does anyone know how this can be achieved except of reading all the files in the repository and then staging all the files that are not conflicted manually?
Thanks a lot.
Gabi
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
Start by locating the implementation and tests for repo.stage("*") in libgit2sharp, then trace how conflicted files are selected during staging. Check the repository's existing handling of conflicted files and define coverage for the requested exclusion behavior. Done means staging matching non-conflicted files without staging files that remain conflicted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100