Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup_git_directory: fix segfault if repository is found in cwd
Additionally there was a similar part calling setenv and getenv in the same way which missed a check if getenv succeeded. Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information