summaryrefslogtreecommitdiff
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-04-25 18:21:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-26 01:54:27 (GMT)
commit589de911852cc3ce689fa3702ecb54c0049aeec1 (patch)
treefdc80041530355b235eb6f9e8ebd1049ab31fcd7 /builtin/index-pack.c
parent57a6a500be8d8ee903a1dc9ea607063a1bc88a0b (diff)
downloadgit-589de911852cc3ce689fa3702ecb54c0049aeec1.zip
git-589de911852cc3ce689fa3702ecb54c0049aeec1.tar.gz
git-589de911852cc3ce689fa3702ecb54c0049aeec1.tar.bz2
packfile: add repository argument to cache_or_unpack_entry
Add a repository argument to allow the callers of cache_or_unpack_entry to be more specific about which repository to act on. This is a small mechanical change; it doesn't change the implementation to handle repositories other than the_repository yet. As with the previous commits, use a macro to catch callers passing a repository other than the_repository at compile time. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Stefan Beller <sbeller@google.com> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/index-pack.c')
0 files changed, 0 insertions, 0 deletions