summaryrefslogtreecommitdiff
path: root/t/t5300-pack-object.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-06-30 12:59:10 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-30 13:43:17 -0700
commit592ce20820ac36dd868dfd1e61b1aeb3cd3f902a (patch)
treefbbe421dc052ab1b0feed033569ac23cd29beeeb /t/t5300-pack-object.sh
parentuse strip_suffix instead of ends_with in simple cases (diff)
downloadtgif-592ce20820ac36dd868dfd1e61b1aeb3cd3f902a.tar.xz
index-pack: use strip_suffix to avoid magic numbers
We also switch to using strbufs, which lets us avoid the potentially dangerous combination of a manual malloc followed by a strcpy. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5300-pack-object.sh')
0 files changed, 0 insertions, 0 deletions