summaryrefslogtreecommitdiff
path: root/object-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'object-file.c')
-rw-r--r--object-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object-file.c b/object-file.c
index 17a236d2fe..4675c8ed6b 100644
--- a/object-file.c
+++ b/object-file.c
@@ -1504,7 +1504,7 @@ clear_exit:
strbuf_release(&packname);
/* Make objects we just wrote available to ourselves */
- reprepare_packed_git(repo);
+ odb_reprepare(repo->objects);
}
/*