Re: [PATCH] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Karsten Blees
Am 27.02.2013 17:53, schrieb Junio C Hamano: > Karsten Blees writes: > >> With core.ignorecase=true, name-hash.c builds a case insensitive index of >> all tracked directories. Currently, the existing cache entry structures are >> added multiple times to the same hashtable (with different name len

Re: [PATCH] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Junio C Hamano
Karsten Blees writes: > With core.ignorecase=true, name-hash.c builds a case insensitive index of > all tracked directories. Currently, the existing cache entry structures are > added multiple times to the same hashtable (with different name lengths and > hash codes). However, there's only one di

[PATCH] name-hash.c: fix endless loop with core.ignorecase=true

2013-02-27 Thread Karsten Blees
With core.ignorecase=true, name-hash.c builds a case insensitive index of all tracked directories. Currently, the existing cache entry structures are added multiple times to the same hashtable (with different name lengths and hash codes). However, there's only one dir_next pointer, which gets compl