summaryrefslogtreecommitdiff
path: root/convert-objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert-objects.c')
-rw-r--r--convert-objects.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/convert-objects.c b/convert-objects.c
index a892013f0f..d78a8b4ae3 100644
--- 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>");