Merge branch 'es/name-hash-no-trailing-slash-in-dirs'
authorJunio C Hamano <gitster@pobox.com>
Thu, 17 Oct 2013 22:55:15 +0000 (15:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Oct 2013 22:55:16 +0000 (15:55 -0700)
Clean up the internal of the name-hash mechanism used to work
around case insensitivity on some filesystems to cleanly fix a
long-standing API glitch where the caller of cache_name_exists()
that ask about a directory with a counted string was required to
have '/' at one location past the end of the string.

* es/name-hash-no-trailing-slash-in-dirs:
dir: revert work-around for retired dangerous behavior
name-hash: stop storing trailing '/' on paths in index_state.dir_hash
employ new explicit "exists in index?" API
name-hash: refactor polymorphic index_name_exists()

1  2 
cache.h
read-cache.c
diff --cc cache.h
Simple merge
diff --cc read-cache.c
Simple merge