summaryrefslogtreecommitdiff
path: root/t/t4030-diff-textconv.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-02-15 16:40:52 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-15 13:50:31 -0800
commitd3cc5f4c44eeacca556f9ae0972837a84e72f288 (patch)
tree9c3fee20aa69e546af697fcc4b2063ba6ba9d421 /t/t4030-diff-textconv.sh
parentshow-branch: store resolved head in heap buffer (diff)
downloadtgif-d3cc5f4c44eeacca556f9ae0972837a84e72f288.tar.xz
show-branch: use skip_prefix to drop magic numbers
We make several starts_with() calls, only to advance pointers. This is exactly what skip_prefix() is for, which lets us avoid manually-counted magic numbers. Helped-by: Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4030-diff-textconv.sh')
0 files changed, 0 insertions, 0 deletions