diff options
author | Jeff King <peff@peff.net> | 2008-02-21 01:00:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-21 05:21:43 +0100 |
commit | c1867cea90f8e7ee8e1be3fc07a402dde1b2666d (patch) | |
tree | 2b87907a3b44e407605ecd7b36756a302c20de36 /t/t5515/fetch.br-remote-explicit_remote-explicit | |
parent | prefix_path: use is_absolute_path() instead of *orig == '/' (diff) | |
download | git-c1867cea90f8e7ee8e1be3fc07a402dde1b2666d.tar.xz git-c1867cea90f8e7ee8e1be3fc07a402dde1b2666d.zip |
git_config_*: don't assume we are parsing a config file
These functions get called by other code, including parsing
config options from the command line. In that case,
config_file_name is NULL, leading to an ugly message or even
a segfault on some implementations of printf.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/fetch.br-remote-explicit_remote-explicit')
0 files changed, 0 insertions, 0 deletions