summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-06-11 22:09:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-11 22:09:18 (GMT)
commit3737746120d4e16b3a2b3431e34eeb3314edfa8c (patch)
tree535a918545df52da20dc84ee3dd69062d47f0b42 /builtin
parent368b4e59061e5e6d2136d685f29c1cd01f5e0557 (diff)
downloadgit-3737746120d4e16b3a2b3431e34eeb3314edfa8c.zip
git-3737746120d4e16b3a2b3431e34eeb3314edfa8c.tar.gz
git-3737746120d4e16b3a2b3431e34eeb3314edfa8c.tar.bz2
index-pack: correct install_packed_git() args
The function does not start taking the repository object as a parameter before v2.18 track. Make the topic mergeable to v2.17 maintenance track by dropping it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 7b39947..3030c88 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -1484,7 +1484,7 @@ static void final(const char *final_pack_name, const char *curr_pack_name,
struct packed_git *p;
p = add_packed_git(final_index_name, strlen(final_index_name), 0);
if (p)
- install_packed_git(the_repository, p);
+ install_packed_git(p);
}
if (!from_stdin) {