From: Pratik Karki Date: Tue, 4 Sep 2018 21:27:16 +0000 (-0700) Subject: builtin rebase: try to fast forward when possible X-Git-Tag: v2.20.0-rc0~93^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9a48a615b47d940764e00c872ddbae601a1e5f8a?hp=9a48a615b47d940764e00c872ddbae601a1e5f8a builtin rebase: try to fast forward when possible In this commit, we add support to fast forward. Note: we will need the merge base later, therefore the call to can_fast_forward() really needs to be the first one when testing whether we can skip the rebase entirely (otherwise, it would make more sense to skip the possibly expensive operation if, say, running an interactive rebase). Signed-off-by: Pratik Karki Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano ---