Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'fixes'
[gitweb.git]
/
cat-file.c
diff --git
a/cat-file.c
b/cat-file.c
index ef58970d82ae9d6e62ec43c496ac1677aedeee3f..d775a1545beb84caf05cae8980fb2d839240fdea 100644
(file)
--- a/
cat-file.c
+++ b/
cat-file.c
@@
-12,6
+12,7
@@
int main(int argc, char **argv)
void *buf;
unsigned long size;
+ setup_git_directory();
if (argc != 3 || get_sha1(argv[2], sha1))
usage("git-cat-file [-t | -s | <type>] <sha1>");