Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git.c: two fixes, gitsetenv type and off-by-one error.
[gitweb.git]
/
convert-objects.c
diff --git
a/convert-objects.c
b/convert-objects.c
index a892013f0f37480fbf13a9511f2146d1681ba136..d78a8b4ae3af80a1207b0e8894ca55fe2363114b 100644
(file)
--- a/
convert-objects.c
+++ b/
convert-objects.c
@@
-316,6
+316,8
@@
int main(int argc, char **argv)
unsigned char sha1[20];
struct entry *entry;
+ setup_git_directory();
+
if (argc != 2 || get_sha1(argv[1], sha1))
usage("git-convert-objects <sha1>");