diff --git a/pack-redundant.c b/pack-redundant.c
index 793fa08096e83e9a5504ca2bdc73b9b4d2a4dbbd..0a43278924edae9d6e3ecdf4bb100bea10faef97 100644 (file)
--- a/pack-redundant.c
+++ b/pack-redundant.c
unsigned char *sha1;
char buf[42]; /* 40 byte sha1 + \n + \0 */
+ setup_git_directory();
+
for (i = 1; i < argc; i++) {
const char *arg = argv[i];
if(!strcmp(arg, "--")) {