diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-03-08 18:43:34 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-09 01:38:22 +0300 |
commit | aac3eaa6242d00d358a077aa740cf5051905a569 (patch) | |
tree | 10549d3a1dd30d8f40b5659a644a85ae93832cd7 /builtin/init-db.c | |
parent | e7e07d5a4fcc2a203d9873968ad3e6bd4d7419d7 (diff) |
t1501: demonstrate NULL pointer access with invalid GIT_WORK_TREE
When GIT_WORK_TREE does not specify a valid path, we should error
out, instead of crashing.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/init-db.c')
0 files changed, 0 insertions, 0 deletions