Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
index-pack: correct install_packed_git() args
author
Junio C Hamano
<gitster@pobox.com>
Mon, 11 Jun 2018 22:09:18 +0000
(15:09 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 Jun 2018 22:09:18 +0000
(15:09 -0700)
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>
builtin/index-pack.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
368b4e5
)
diff --git
a/builtin/index-pack.c
b/builtin/index-pack.c
index 7b399478dd43684c1e4405b5be7588781e3e7180..3030c88d384742c86677316c517f529a8ff3bd72 100644
(file)
--- 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) {