Web lists-archives.com

[Git 2.13.0] BUG: setup_git_env called without repository




Hey Git people,

Since upgrading to Git 2.13.0 I'm seeing this error message whenever
`git config --local <whatever>` is called outside a Git repository.
For example, note the difference in behavior between Git 2.13 and
Apple Git:

    $ pwd
    /Users/jhagins
    $ /usr/bin/git --version
    git version 2.11.0 (Apple Git-81)
    $ /usr/bin/git config --local --get user.name
    $ /usr/local/bin/git --version
    git version 2.13.0
    $ /usr/local/bin/git config --local --get user.name
    fatal: BUG: setup_git_env called without repository

Apple Git outputs nothing, as expected. The summarized release notes
published by GitHub specifically mentioned that instances of this
error message should be reported, so here you go!

Please let me know if I can provide any more information that would be helpful.

Cheers!

-- 
Josh Hagins