author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 14 May 2011 20:19:21 +0000 (15:19 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 15 May 2011 01:53:39 +0000 (18:53 -0700) | ||
commit | 8c2be75fe117f5079087a6dfb07c573cc6716143 | |
tree | dbd90c21ea5e73685899482249c8336cdbe42a36 | tree | snapshot |
parent | 375f8a032e9f47d362afd5ea2443f77bcba685cb | commit | diff |
add, merge, diff: do not use strcasecmp to compare config variable names
The config machinery already makes section and variable names
lowercase when parsing them, so using strcasecmp for comparison just
feels wasteful. No noticeable change intended.
Noticed-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The config machinery already makes section and variable names
lowercase when parsing them, so using strcasecmp for comparison just
feels wasteful. No noticeable change intended.
Noticed-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c | diff | blob | history | |
merge-recursive.c | diff | blob | history | |
xdiff-interface.c | diff | blob | history |