libgit2 / libgit2/libgit2sharp
"LibGit2Sharp.LibGit2SharpException : the ProgramData file 'config' doesn't exist: " on macOS
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Reproduction steps
Call Configuration.BuildFrom(null) on macOS.
Expected behavior
It should work fine.
Actual behavior
An exception is thrown because git_config_find_programdata does not work on macOS.
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 Configuration.BuildFrom(null) on macOS and trace its call to git_config_find_programdata. Compare the macOS behavior with supported platforms to identify the configuration lookup path. Done means the call succeeds on macOS without the missing ProgramData config exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100