Skip to content

Commit eb63068

Browse files
committed
Merge branch 'jk/apply-patch-mode-check-fix'
Test fix. * jk/apply-patch-mode-check-fix: t4129: fix racy index when calling chmod after git-add
2 parents b772c9c + 49e5cc5 commit eb63068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4129-apply-samemode.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ test_expect_success POSIXPERM 'patch mode for new file is canonicalized' '
153153
test_expect_success POSIXPERM 'patch mode for deleted file is canonicalized' '
154154
test_when_finished "git reset --hard" &&
155155
echo content >non-canon &&
156-
git add non-canon &&
157156
chmod 666 non-canon &&
157+
git add non-canon &&
158158
159159
cat >patch <<-\EOF &&
160160
diff --git a/non-canon b/non-canon

0 commit comments

Comments
 (0)