diff options
author | Stefan Beller <sbeller@google.com> | 2018-03-23 18:45:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-26 10:07:43 -0700 |
commit | a49d2834359a3fa943edf81e2d146fc787bc1cfe (patch) | |
tree | 3dad5b0af21e8dec35638a887141dc1bbb5958e8 /bulk-checkin.c | |
parent | 6fdb4e9f5a883aa3d96fc19b3e08d3449d53ea0c (diff) | |
download | git-a49d2834359a3fa943edf81e2d146fc787bc1cfe.tar.gz |
packfile: add repository argument to reprepare_packed_git
See previous patch for explanation.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bulk-checkin.c')
-rw-r--r-- | bulk-checkin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bulk-checkin.c b/bulk-checkin.c index 3310fd210a..eadc2d5172 100644 --- a/bulk-checkin.c +++ b/bulk-checkin.c @@ -3,6 +3,7 @@ */ #include "cache.h" #include "bulk-checkin.h" +#include "repository.h" #include "csum-file.h" #include "pack.h" #include "strbuf.h" @@ -57,7 +58,7 @@ clear_exit: strbuf_release(&packname); /* Make objects we just wrote available to ourselves */ - reprepare_packed_git(); + reprepare_packed_git(the_repository); } static int already_written(struct bulk_checkin_state *state, unsigned char sha1[]) |