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
maint
Junio C Hamano 2024-08-21 12:02:25 -07:00
commit eb630683c2
1 changed files with 1 additions and 1 deletions

View File

@ -153,8 +153,8 @@ test_expect_success POSIXPERM 'patch mode for new file is canonicalized' '
test_expect_success POSIXPERM 'patch mode for deleted file is canonicalized' ' test_expect_success POSIXPERM 'patch mode for deleted file is canonicalized' '
test_when_finished "git reset --hard" && test_when_finished "git reset --hard" &&
echo content >non-canon && echo content >non-canon &&
git add non-canon &&
chmod 666 non-canon && chmod 666 non-canon &&
git add non-canon &&


cat >patch <<-\EOF && cat >patch <<-\EOF &&
diff --git a/non-canon b/non-canon diff --git a/non-canon b/non-canon