Skip to content

Commit 9eed4f3

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 64ac39a commit 9eed4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5533-push-cas.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ test_expect_success 'new branch already exists' '
220220
(
221221
cd src &&
222222
git checkout -b branch master &&
223-
test_commit c
223+
test_commit F
224224
) &&
225225
(
226226
cd dst &&

0 commit comments

Comments
 (0)