Skip to content

Commit 3737746

Browse files
committed
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 <[email protected]>
1 parent 368b4e5 commit 3737746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/index-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ static void final(const char *final_pack_name, const char *curr_pack_name,
14841484
struct packed_git *p;
14851485
p = add_packed_git(final_index_name, strlen(final_index_name), 0);
14861486
if (p)
1487-
install_packed_git(the_repository, p);
1487+
install_packed_git(p);
14881488
}
14891489

14901490
if (!from_stdin) {

0 commit comments

Comments
 (0)