]> git.ipfire.org Git - thirdparty/git.git/commit - bundle.c
bundle.c: use a temporary variable for OIDs and names
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 2 Jul 2021 09:57:31 +0000 (11:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Jul 2021 19:10:16 +0000 (12:10 -0700)
commit15e7c7dca66ab7b020316696f54433f76e5e1084
tree95af454c2ca53d06ec3056dc82dc8f58c850c273
parentdb6bfb9fe8098b8795d8e6bb8c6d85fd39f2cdaf
bundle.c: use a temporary variable for OIDs and names

In preparation for moving away from accessing the OID and name via the
"oid" and "name" slots in a subsequent commit, change the code that
accesses it to use named variables. This makes the subsequent change
smaller.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c
transport.c