镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Description

@hach-que

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.

Activity

  1. SamirKharchi commented on Jun 2, 2025

    @SamirKharchi

    I confirm this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions