summaryrefslogtreecommitdiff
path: root/t/t1003-read-tree-prefix.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-01-19 18:41:21 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-19 11:21:52 -0800
commitc2f41bf521b5b2ffb9ea93b98e4a57bf73d70864 (patch)
treebedd776e04764e7e7fef21813d429fe6981555cc /t/t1003-read-tree-prefix.sh
parentGit 2.10 (diff)
downloadtgif-c2f41bf521b5b2ffb9ea93b98e4a57bf73d70864.tar.xz
color.c: fix color_parse_mem() with value_len == 0
In this code we want to match the word "reset". If len is zero, strncasecmp() will return zero and we incorrectly assume it's "reset" as a result. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1003-read-tree-prefix.sh')
0 files changed, 0 insertions, 0 deletions