Merge branch 'pw/rebase-of-a-tag-fix'
commit7cebe73dbd34f68b4c97b43f3d338031fd5e3831
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2021 20:40:11 +0000 (6 13:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2021 20:40:11 +0000 (6 13:40 -0700)
treebb05054c2427926b95b82bf79d4b1bf26efaf20e
parent921c795c25577e40df1f607a22748332bfb225ea
parent7740ac691d8e7f1bed67bcbdb1ee5c5c618f7373
Merge branch 'pw/rebase-of-a-tag-fix'

"git rebase <upstream> <tag>" failed when aborted in the middle, as
it mistakenly tried to write the tag object instead of peeling it
to HEAD.

* pw/rebase-of-a-tag-fix:
  rebase: dereference tags
  rebase: use lookup_commit_reference_by_name()
  rebase: use our standard error return value
  t3407: rework rebase --quit tests
  t3407: strengthen rebase --abort tests
  t3407: use test_path_is_missing
  t3407: rename a variable
  t3407: use test_cmp_rev
  t3407: use test_commit
  t3407: run tests in $TEST_DIRECTORY
builtin/rebase.c