packfile: add repository argument to prepare_packed_git
commit6fdb4e9f5a883aa3d96fc19b3e08d3449d53ea0c
authorStefan Beller <sbeller@google.com>
Fri, 23 Mar 2018 17:45:20 +0000 (23 18:45 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Mar 2018 17:07:43 +0000 (26 10:07 -0700)
treef053cf8da99db90dd4a031188022dc9aa048014c
parent072a109356a8d3563b091efcecb2a201edc0de63
packfile: add repository argument to prepare_packed_git

Add a repository argument to allow prepare_packed_git callers to be
more specific about which repository to handle. See commit "sha1_file:
add repository argument to link_alt_odb_entry" for an explanation of
the #define trick.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 files changed:
builtin/count-objects.c
builtin/fsck.c
builtin/gc.c
builtin/pack-objects.c
builtin/pack-redundant.c
fast-import.c
http-backend.c
pack-bitmap.c
packfile.c
packfile.h
server-info.c
sha1_name.c