Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
color.c: fix color_parse_mem() with value_len == 0
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Thu, 19 Jan 2017 11:41:21 +0000
(18:41 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 19 Jan 2017 19:21:52 +0000
(11:21 -0800)
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>
raw
|
patch
| inline |
side by side
(from:
c2f41bf
)
No differences found