t3432: test rebase fast-forward behavior
authorDenton Liu <redacted>
Sun, 25 Aug 2019 09:12:00 +0000 (05:12 -0400)
committerJunio C Hamano <redacted>
Mon, 26 Aug 2019 19:34:56 +0000 (12:34 -0700)
commit793ac7e309437e2225825370a9c7a0f1ccb39480
treec28cd593591316bab0701bcf852b03957e6eb49d
parent359ecebc346eeb3c74af82f25d8fce94d3ce35a4
t3432: test rebase fast-forward behavior

When rebase is run on a branch that can be fast-forwarded, this should
automatically be done. Create test to ensure this behavior happens.

There are some cases that currently don't pass. The first case is where
a feature and master have diverged, running
"git rebase master... master" causes a full rebase to happen even though
a fast-forward should happen.

The second case is when we are doing "git rebase --fork-point" and a
fork-point commit is found. Once again, a full rebase happens even
though a fast-forward should happen.

Mark these cases as failure so we can fix it later.

Signed-off-by: Denton Liu <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3432-rebase-fast-forward.sh [new file with mode: 0755]
git clone https://git.99rst.org/PROJECT