Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t0050: Add test for case insensitive add
author
Steffen Prohaska
<prohaska@zib.de>
Sun, 11 May 2008 16:16:42 +0000
(18:16 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 11 May 2008 18:31:51 +0000
(11:31 -0700)
Add should recognize if a file is added with a different case and add
the file using its original name.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0050-filesystem.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b4a299d
)
diff --git
a/t/t0050-filesystem.sh
b/t/t0050-filesystem.sh
index 399b45df1fdfd3d359152ecc2e87ee085dd6a358..0e33c4bdc7062015fa94c15cf4cc2ba558eeef72 100755
(executable)
--- a/
t/t0050-filesystem.sh
+++ b/
t/t0050-filesystem.sh
@@
-77,6
+77,16
@@
$test_case 'merge (case change)' '
'
+$test_case 'add (with different case)' '
+
+ git reset --hard initial &&
+ rm camelcase &&
+ echo 1 >CamelCase &&
+ git add CamelCase &&
+ test $(git-ls-files | grep -i camelcase | wc -l) = 1
+
+'
+
test_expect_success "setup unicode normalization tests" '
test_create_repo unicode &&