Merge branch 'sg/t3420-do-not-grep-in-missing-file'

A test checking interactions between git rebase --quit and
autostash in t3420-rebase-autostash.sh has been corrected to use
test_path_is_missing instead of ! grep on a file that shouldn't
exist in the conflicted state.

* sg/t3420-do-not-grep-in-missing-file:
  t3420-rebase-autostash: don't try to grep non-existing files
main
Junio C Hamano 2026-07-06 15:50:25 -07:00
commit 83fd231fc6
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ testrebase () {
git rebase --quit &&
test_when_finished git stash drop &&
test_path_is_missing $dotest/autostash &&
! grep dirty file3 &&
test_path_is_missing file3 &&
git stash show -p >actual &&
test_cmp expect actual &&
git reset --hard &&