summaryrefslogtreecommitdiff
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorLibravatar Pratik Karki <predatoramigo@gmail.com>2018-09-04 14:27:16 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-06 11:55:43 -0700
commit9a48a615b47d940764e00c872ddbae601a1e5f8a (patch)
treed5b8aa4c45e1f13ecd7e45d64fffdb221920ef92 /builtin/commit-tree.c
parentbuiltin rebase: require a clean worktree (diff)
downloadtgif-9a48a615b47d940764e00c872ddbae601a1e5f8a.tar.xz
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 <predatoramigo@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions