summaryrefslogtreecommitdiff
path: root/t/t3210-pack-refs.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-10-18 01:02:08 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-28 14:05:18 +0900
commitb2f2039c2b23ff2a417d404f205b9741870d4acd (patch)
treecded41663074edeed402bb82ce75139e2d953294 /t/t3210-pack-refs.sh
parentfsck: accept an oid instead of a "struct commit" for fsck_commit() (diff)
downloadtgif-b2f2039c2b23ff2a417d404f205b9741870d4acd.tar.xz
fsck: accept an oid instead of a "struct tree" for fsck_tree()
We don't actually look at the tree struct in fsck_tree() beyond its oid and type (which is obviously OBJ_TREE). Just taking an oid gives our callers more flexibility to avoid creating 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/t3210-pack-refs.sh')
0 files changed, 0 insertions, 0 deletions