summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2014-07-28 18:31:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-08-26 18:06:06 (GMT)
commit4d3ab44d26c47d100cec39d0ef9ed9746eb7e454 (patch)
tree8ef114ab2ed8e2667fa12124b18f34df5922c3f3 /Documentation/technical
parent56b9f6e738af6f5238f57a29e96103cf61e3f8cd (diff)
downloadgit-4d3ab44d26c47d100cec39d0ef9ed9746eb7e454.zip
git-4d3ab44d26c47d100cec39d0ef9ed9746eb7e454.tar.gz
git-4d3ab44d26c47d100cec39d0ef9ed9746eb7e454.tar.bz2
use xgetcwd() to set $GIT_DIR
Instead of dying of a segmentation fault if getcwd() returns NULL, use xgetcwd() to make sure to write a useful error message and then exit in an orderly fashion. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions