Skip to content

Commit

Permalink
test(rebase): idempotent rebase messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgrayson committed Jul 28, 2024
1 parent 06e0608 commit 7a15b11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/t2200-rebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,11 @@ test_expect_success 'Check patches were re-applied' '
test $(stg series --applied -c) = 1
'

test_expect_success 'Rebase to same base message' '
stg rebase master 2>out &&
grep "info: Rebasing to .*(master)" out &&
stg rebase master 2>out &&
grep "info: Already based on .*(master)" out
'

test_done

0 comments on commit 7a15b11

Please sign in to comment.