summaryrefslogtreecommitdiff
path: root/t/t4101-apply-nonl.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-05-28 18:20:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-29 17:10:05 -0700
commit2bb73ae8037ae6fd82f002257d04f8cda2a721cd (patch)
tree1378704186665446d414d87be1fbf8055f238f97 /t/t4101-apply-nonl.sh
parentGit 2.4.11 (diff)
downloadtgif-2bb73ae8037ae6fd82f002257d04f8cda2a721cd.tar.xz
patch-id: use starts_with() and skip_prefix()
Get rid of magic numbers and avoid running over the end of a NUL terminated string by using starts_with() and skip_prefix() instead of memcmp(). Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4101-apply-nonl.sh')
0 files changed, 0 insertions, 0 deletions