diff options
author | Jeff King <peff@peff.net> | 2019-10-18 01:01:26 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-28 14:05:18 +0900 |
commit | 103fb6d43bd6ec7049564cc39e4c0e495f9bfcb8 (patch) | |
tree | a3469511245c8e9e049db715cf614ceb41cdbcd2 /t/t0410-partial-clone.sh | |
parent | fsck: rename vague "oid" local variables (diff) | |
download | tgif-103fb6d43bd6ec7049564cc39e4c0e495f9bfcb8.tar.xz |
fsck: accept an oid instead of a "struct tag" for fsck_tag()
We don't actually look at the tag struct in fsck_tag() beyond its oid
and type (which is obviously OBJ_TAG). Just taking an oid gives our
callers more flexibility to avoid creating or parsing a struct, and
makes it clear that we are fscking just what is in the buffer, not any
pre-parsed bits from the struct.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0410-partial-clone.sh')
0 files changed, 0 insertions, 0 deletions