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>
Junio C Hamano committed
Jun 11, 2018 at 15:09 UTC
3737746120d4e16b3a2b3431e34eeb3314edfa8c
1 file changed
+1
-1
builtin/index-pack.c
+1
-1
@@ -1484,7 +1484,7 @@ static void final(const char *final_pack_name, const char *curr_pack_name,
1484
struct packed_git *p;
1485
p = add_packed_git(final_index_name, strlen(final_index_name), 0);
1486
if (p)
1487
- install_packed_git(the_repository, p);
1487
+ install_packed_git(p);
1488
}
1489
1490
if (!from_stdin) {