summaryrefslogtreecommitdiff
path: root/t/t7105-reset-patch.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-10-18 01:01:48 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-28 14:05:18 +0900
commitc5b4269b57df38b26a3b851833e94abce08583e7 (patch)
treebf0afcc290a0e2b31399426aea65056d8f2c0829 /t/t7105-reset-patch.sh
parentfsck: accept an oid instead of a "struct tag" for fsck_tag() (diff)
downloadtgif-c5b4269b57df38b26a3b851833e94abce08583e7.tar.xz
fsck: accept an oid instead of a "struct commit" for fsck_commit()
We don't actually look at the commit struct in fsck_commit() beyond its oid and type (which is obviously OBJ_COMMIT). 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/t7105-reset-patch.sh')
0 files changed, 0 insertions, 0 deletions