Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-24 10:41:18 +0300
committerJunio C Hamano <junkio@cox.net>2006-03-24 10:41:18 +0300
commit84a9b58c421f9b2d1cc6c195ed441fac48e60392 (patch)
treeb3862a8325f87bd5cf4948117da1b0269664ca13 /unpack-file.c
parentc51d13692d4e451c755dd7da3521c5db395df192 (diff)
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 'unpack-file.c')
-rw-r--r--unpack-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unpack-file.c b/unpack-file.c
index 07303f8bb3..3accb974dd 100644
--- a/unpack-file.c
+++ b/unpack-file.c
@@ -30,6 +30,7 @@ int main(int argc, char **argv)
usage("git-unpack-file <sha1>");
setup_git_directory();
+ git_config(git_default_config);
puts(create_temp_file(sha1));
return 0;