mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
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>
This commit is contained in:
parent
7e18e56920
commit
3a3c3fc42a