Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-commit --amend: allow empty commit.
[gitweb.git]
/
unpack-file.c
diff --git
a/unpack-file.c
b/unpack-file.c
index d4ac3a5460568408f96fc26e5228c639dfc20439..07303f8bb3ef2b93f3e7c9bbe116aef9660584d5 100644
(file)
--- a/
unpack-file.c
+++ b/
unpack-file.c
@@
-29,6
+29,8
@@
int main(int argc, char **argv)
if (argc != 2 || get_sha1(argv[1], sha1))
usage("git-unpack-file <sha1>");
+ setup_git_directory();
+
puts(create_temp_file(sha1));
return 0;
}