summaryrefslogtreecommitdiff
path: root/cat-file.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-03-23 23:52:42 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-03-23 23:52:42 -0800
commit88d9405600ece221306ac98db68c6bf756e1ff09 (patch)
tree68ec7c90369cbf6a9ddbff76e2e574ab0f782793 /cat-file.c
parentMerge branch 'jc/pull' into next (diff)
parentsha1_name: make core.warnambiguousrefs the default. (diff)
downloadtgif-88d9405600ece221306ac98db68c6bf756e1ff09.tar.xz
Merge branch 'jc/name' into next
* jc/name: sha1_name: make core.warnambiguousrefs the default. sha1_name: warning ambiguous refs.
Diffstat (limited to 'cat-file.c')
-rw-r--r--cat-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cat-file.c b/cat-file.c
index 1a613f3ee5..761111eb0f 100644
--- a/cat-file.c
+++ b/cat-file.c
@@ -100,6 +100,7 @@ int main(int argc, char **argv)
int opt;
setup_git_directory();
+ git_config(git_default_config);
if (argc != 3 || get_sha1(argv[2], sha1))
usage("git-cat-file [-t|-s|-e|-p|<type>] <sha1>");