Merge branch 'es/name-hash-no-trailing-slash-in-dirs'
commitd6a58b7773d142ab6da47eca94f83b9c8e6dad5e
authorJunio C Hamano <gitster@pobox.com>
Thu, 17 Oct 2013 22:55:15 +0000 (17 15:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Oct 2013 22:55:16 +0000 (17 15:55 -0700)
tree640e0e43df56252aa7712690bbd5a2d21a931360
parentbe98d915bec9aadcf746192ce0c5ddc19926b8bb
parentde372b1b46d91ffdcd6eb6e324cb8b586c99c539
Merge branch 'es/name-hash-no-trailing-slash-in-dirs'

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()
cache.h
read-cache.c