builtin rebase: fast-forward to onto if it is a proper descendant
authorPratik Karki <predatoramigo@gmail.com>
Wed, 8 Aug 2018 15:36:32 +0000 (21:21 +0545)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Oct 2018 05:16:05 +0000 (14:16 +0900)
commit7eecfa56017017208fd71c7aad9310a582a558ad
tree65f8bf87e3b9355a008ce14477941ddb14437eb2
parentfa443d40b115acf15716a0cd81b84794cfbbf5af
builtin rebase: fast-forward to onto if it is a proper descendant

When trying to rebase onto a direct descendant of HEAD, we can
take a shortcut and fast-forward instead. This commit makes it so.

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c