Merge branch 'kn/pack-write-with-reduced-globals'
Code clean-up. * kn/pack-write-with-reduced-globals: pack-write: pass hash_algo to internal functions pack-write: pass hash_algo to `write_rev_file()` pack-write: pass hash_algo to `write_idx_file()` pack-write: pass repository to `index_pack_lockfile()` pack-write: pass hash_algo to `fixup_pack_header_footer()`
This commit is contained in:
@ -2304,7 +2304,7 @@ static const char *unpack(int err_fd, struct shallow_info *si)
|
||||
if (status)
|
||||
return "index-pack fork failed";
|
||||
|
||||
lockfile = index_pack_lockfile(child.out, NULL);
|
||||
lockfile = index_pack_lockfile(the_repository, child.out, NULL);
|
||||
if (lockfile) {
|
||||
pack_lockfile = register_tempfile(lockfile);
|
||||
free(lockfile);
|
||||
|
Reference in New Issue
Block a user