name-hash: allow dir hashing even when !ignore_case
commitb2f09f2a2d740d2cb9ddb0bd681dd0c309c0ca35
authorThomas Rast <tr@thomasrast.ch>
Sat, 6 Sep 2014 17:57:05 +0000 (6 19:57 +0200)
committerMichael J Gruber <git@grubix.eu>
Wed, 11 Apr 2018 14:40:22 +0000 (11 16:40 +0200)
tree9def163fb02e84fb9381e08c6e5b0f32b2f96454
parent5e3416748a1974e8e77681f24f771cd0a2c0c7a4
name-hash: allow dir hashing even when !ignore_case

The directory hash (for fast checks if the index already has a
directory) was only used in ignore_case mode and so depended on that
flag.

Make it generally available on request.

Signed-off-by: Thomas Rast <tr@thomasrast.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
name-hash.c