Re: [PATCH] add, merge, diff: do not use strcasecmp to compare config variable names
- From
Junio C Hamano <junio@pobox.com>
- Date
- May 15, 2011, 01:53 UTC
- Message-ID
- <7vhb8wrap2.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110514201921.GA10758@elie>
Jonathan Nieder <jrnieder@gmail.com> writes:
> 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.
A quick "grep 'strcasecmp(va*r*, "[^"]*\.' yields exactly the ones covered by this patch.
Thanks, I've been meaning to change these while reading merge-recursive.