summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2016-05-28 16:20:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-30 00:10:05 (GMT)
commit2bb73ae8037ae6fd82f002257d04f8cda2a721cd (patch)
tree1378704186665446d414d87be1fbf8055f238f97 /bisect.h
parent765428699a5381f113d19974720bc91b5bfeaf1d (diff)
downloadgit-2bb73ae8037ae6fd82f002257d04f8cda2a721cd.zip
git-2bb73ae8037ae6fd82f002257d04f8cda2a721cd.tar.gz
git-2bb73ae8037ae6fd82f002257d04f8cda2a721cd.tar.bz2
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 'bisect.h')
0 files changed, 0 insertions, 0 deletions