Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

"LibGit2Sharp.LibGit2SharpException : the ProgramData file 'config' doesn't exist: " on macOS

Open
#2,046 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, git
Domain
devtools

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.

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.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libgit2/libgit2sharp

All issues in libgit2/libgit2sharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.