diff options
author | Stefan Beller <sbeller@google.com> | 2018-03-23 18:21:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-26 19:05:55 +0200 |
commit | 0b2090340544caaabb378706a6ed3853dd617a6f (patch) | |
tree | c9c8650962609841279e6b6350eecbb25de90cb4 /packfile.c | |
parent | sha1_file: add repository argument to link_alt_odb_entries (diff) | |
download | git-0b2090340544caaabb378706a6ed3853dd617a6f.tar.xz git-0b2090340544caaabb378706a6ed3853dd617a6f.zip |
sha1_file: add repository argument to prepare_alt_odb
See previous patch for explanation.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.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 'packfile.c')
-rw-r--r-- | packfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c index 36922b5872..d087eacc06 100644 --- a/packfile.c +++ b/packfile.c @@ -890,7 +890,7 @@ void prepare_packed_git(void) if (the_repository->objects->packed_git_initialized) return; prepare_packed_git_one(get_object_directory(), 1); - prepare_alt_odb(); + prepare_alt_odb(the_repository); for (alt = the_repository->objects->alt_odb_list; alt; alt = alt->next) prepare_packed_git_one(alt->path, 0); rearrange_packed_git(); |