summaryrefslogtreecommitdiff
path: root/t/t7701-repack-unpack-unreachable.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-09-05 18:52:25 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-09-06 11:03:39 -0700
commitf1cbd033e201a18c7175bc6509b48d6243e79739 (patch)
tree570056d516b231b921e53f5292e0f61dc001cc66 /t/t7701-repack-unpack-unreachable.sh
parentgit-am: handle missing "author" when parsing commit (diff)
downloadtgif-f1cbd033e201a18c7175bc6509b48d6243e79739.tar.xz
pack-objects: use object_id in packlist_alloc()
The only caller of packlist_alloc() already has a "struct object_id", and we immediately copy the hash they pass us into our own object_id. Let's avoid the unnecessary round-trip to a raw sha1 pointer. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7701-repack-unpack-unreachable.sh')
0 files changed, 0 insertions, 0 deletions