libgit2 / libgit2/libgit2sharp
Status Retrieval with PathSpecs containing backslashes doesn't work
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
If you use paths like this "path\to\file" instead of "path/to/file" in the PathSpec parameter when retrieving status from a repository does not work.
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 reproducing status retrieval with a PathSpec containing backslashes, then trace the PathSpec handling used by the status API. Compare it with an equivalent slash-separated path; done means both forms retrieve status correctly, with a regression test covering the backslash form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100