t3432: test for --no-ff's interaction with fast-forward
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 27 Aug 2019 05:37:53 +0000 (01:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Aug 2019 22:33:39 +0000 (15:33 -0700)
commitc9efc216830fa2fb71e7d917294e4530a33a4da1
tree16049593925541a1ef6688b1e9e76273cbfc3ae7
parent4336d365123e45be0ed4a7286df54ccce560d55f
t3432: test for --no-ff's interaction with fast-forward

Add more stress tests for the can_fast_forward() case in
rebase.c. These tests are getting rather verbose, but now we can see
under --ff and --no-ff whether we skip work, or whether we're forced
to run the rebase.

These tests aren't supposed to endorse the status quo, just test for
what we're currently doing.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3432-rebase-fast-forward.sh