t5533: make it pass on case-sensitive filesystems
The newly-added test case wants to commit a file "c.t" (note the lower case) when a previous test case already committed a file "C.t". This confuses Git to the point that it thinks "c.t" was not staged when "git add c.t" was called. Simply make the naming of the test commits consistent with the previous test cases: use upper-case, and advance in the alphabet. This came up in local work to rebase the Windows-specific patches to the current `next` branch. An identical fix was suggested by John Keeping. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Aug 4, 2016 at 16:54 UTC
9eed4f3711a605ab2d9b986357879a09a6d54f36
1 file changed
+1
-1
t/t5533-push-cas.sh
+1
-1
@@ -220,7 +220,7 @@ test_expect_success 'new branch already exists' '
220
(
221
cd src &&
222
git checkout -b branch master &&
223
- test_commit c
223
+ test_commit F
224
) &&
225
(
226
cd dst &&