mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-20 17:54:13 -05: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:
committed by
Junio C Hamano
parent
7e18e56920
commit
3a3c3fc42a