From: Johannes Schindelin Date: Fri, 4 Aug 2006 15:46:19 +0000 (+0200) Subject: Fix crash when GIT_DIR is invalid X-Git-Tag: v1.4.2-rc4~19 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3a3c3fc42a021f11aa8f35dc40cc69d4d4af7224?hp=3a3c3fc42a021f11aa8f35dc40cc69d4d4af7224 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 Signed-off-by: Junio C Hamano ---