pack-redundant: convert linked lists to use struct object_id
[gitweb.git] / builtin / receive-pack.c
index 19428ef97dc0b75fb51adc8b991b675ca0dc38f9..c4272fbc96dc274f3287ab01f3fbe57c2cdb9d9c 100644 (file)
@@ -1,4 +1,5 @@
 #include "builtin.h"
+#include "repository.h"
 #include "config.h"
 #include "lockfile.h"
 #include "pack.h"
@@ -1778,7 +1779,7 @@ static const char *unpack(int err_fd, struct shallow_info *si)
                status = finish_command(&child);
                if (status)
                        return "index-pack abnormal exit";
-               reprepare_packed_git();
+               reprepare_packed_git(the_repository);
        }
        return NULL;
 }