author | Matthias Lederhofer <matled@gmx.net> | |
Wed, 6 Jun 2007 21:29:59 +0000 (23:29 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Jun 2007 23:07:53 +0000 (16:07 -0700) | ||
commit | f4f51add2712293b7bc9e7aaebf6a589bb37c7c7 | |
tree | cb05aa5300e48e16ed7f84f92b39473e38a1e5d3 | tree | snapshot |
parent | 3ae4a867d37237e8f8156be1409a4a992bd37fb0 | commit | diff |
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>
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>
setup.c | diff | blob | history |