author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 4 Aug 2006 15:46:19 +0000 (17:46 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 4 Aug 2006 18:30:19 +0000 (11:30 -0700) | ||
commit | 3a3c3fc42a021f11aa8f35dc40cc69d4d4af7224 | |
tree | 7ee94de0501d77a2312de938f7d0e461f7269450 | tree | snapshot |
parent | 7e18e56920bd38ffc1f2c068d943bfd3f012473d | commit | diff |
Fix crash when GIT_DIR is invalid
We used to test if a pointer was NULL, and if it was, try to access it.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
We used to test if a pointer was NULL, and if it was, try to access it.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
setup.c | diff | blob | history |