summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorJoshua Jensen <jjensen@workspacewhiz.com>2010-10-03 09:56:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-10-06 18:19:59 (GMT)
commit21444f1805d2ea3c7b297101e9470048cdcf58d2 (patch)
tree179504e358499ea2a38edb1aeab7d7d134cf9151 /read-cache.c
parent5102c6173c5a1c683dfdd8ccd07528adddd51745 (diff)
downloadgit-21444f1805d2ea3c7b297101e9470048cdcf58d2.zip
git-21444f1805d2ea3c7b297101e9470048cdcf58d2.tar.gz
git-21444f1805d2ea3c7b297101e9470048cdcf58d2.tar.bz2
Add case insensitivity support when using git ls-files
When mydir/filea.txt is added, mydir/ is renamed to MyDir/, and MyDir/fileb.txt is added, running git ls-files mydir only shows mydir/filea.txt. Running git ls-files MyDir shows MyDir/fileb.txt. Running git ls-files mYdIR shows nothing. With this patch running git ls-files for mydir, MyDir, and mYdIR shows mydir/filea.txt and MyDir/fileb.txt. Wildcards are not handled case insensitively in this patch. Example: MyDir/aBc/file.txt is added. git ls-files MyDir/a* works fine, but git ls-files mydir/a* does not. Signed-off-by: Joshua Jensen <jjensen@workspacewhiz.com> Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions