diff options
author | Stefan Beller <sbeller@google.com> | 2018-04-25 11:21:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-26 10:54:27 +0900 |
commit | 144f4948a134ed3eedeb87b688408c9d4da094ff (patch) | |
tree | 8d20513851e66d96dd26eae161309bb7114aa336 /builtin/remote-fd.c | |
parent | packfile: add repository argument to retry_bad_packed_offset (diff) | |
download | tgif-144f4948a134ed3eedeb87b688408c9d4da094ff.tar.xz |
packfile: add repository argument to packed_to_object_type
Add a repository argument to allow the callers of packed_to_object_type
to be more specific about which repository to handle. 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/remote-fd.c')
0 files changed, 0 insertions, 0 deletions