Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFH] renaming strcmp/strncmp-icase

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:02:28

Torsten Bögershausen [off-list ref] writes:
And then we have this in name-hash.c:
(Which may explain the "icase" suffix ?)

static int same_name(const struct cache_entry *ce, const char *name, int namelen, int icase)
As this file-scope static function takes the "icase" as an explicit
argument, I do not see anything confusing about it.  My complaint
was it is confusing that str[n]cmp_icase is not always icase, even
though the name of the function implies that it would be to those
who haven't looked at its implementation for a while.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help