diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-23 23:41:18 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-23 23:41:18 -0800 |
commit | 84a9b58c421f9b2d1cc6c195ed441fac48e60392 (patch) | |
tree | b3862a8325f87bd5cf4948117da1b0269664ca13 /merge-base.c | |
parent | c51d13692d4e451c755dd7da3521c5db395df192 (diff) | |
download | git-84a9b58c421f9b2d1cc6c195ed441fac48e60392.tar.gz |
sha1_name: warning ambiguous refs.
This makes sure that many commands that take refs on the command
line to honor core.warnambiguousrefs configuration. Earlier,
the commands affected by this patch did not read the
configuration file.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'merge-base.c')
-rw-r--r-- | merge-base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/merge-base.c b/merge-base.c index e73fca7453..07f5ab4d1c 100644 --- a/merge-base.c +++ b/merge-base.c @@ -237,6 +237,7 @@ int main(int argc, char **argv) unsigned char rev1key[20], rev2key[20]; setup_git_directory(); + git_config(git_default_config); while (1 < argc && argv[1][0] == '-') { char *arg = argv[1]; |