summaryrefslogtreecommitdiff
path: root/t/t3101-ls-tree-dirname.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2013-01-14 17:34:56 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-14 09:59:27 -0800
commit8a692d277795e426167d76d652cf86656c9c162e (patch)
tree4562e0ed76daf30280fdd72b2c39f52d6226dbdc /t/t3101-ls-tree-dirname.sh
parentlog --format: teach %C(auto,black) to respect color config (diff)
downloadtgif-8a692d277795e426167d76d652cf86656c9c162e.tar.xz
pretty: use prefixcmp instead of memcmp on NUL-terminated strings
This conversion avoids the need for magic string length numbers in the code. And unlike memcmp(), prefixcmp() is careful to not run over the end of a string. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3101-ls-tree-dirname.sh')
0 files changed, 0 insertions, 0 deletions