summaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2017-12-21 15:52:45 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-11 14:52:30 -0700
commit2b6ad0f4bca508a04e2b6e940e37f7d98c1a8696 (patch)
tree2d40db405cbea7e9b58864db8fb6fbadcb9aa0eb /builtin/revert.c
parentmerge: allow reading the merge commit message from a file (diff)
downloadtgif-2b6ad0f4bca508a04e2b6e940e37f7d98c1a8696.tar.xz
rebase --rebase-merges: add support for octopus merges
Previously, we introduced the `merge` command for use in todo lists, to allow to recreate and modify branch topology. For ease of implementation, and to make review easier, the initial implementation only supported merge commits with exactly two parents. This patch adds support for octopus merges, making use of the just-introduced `-F <file>` option for the `git merge` command: to keep things simple, we spawn a new Git command instead of trying to call a library function, also opening an easier door to enhance `rebase --rebase-merges` to optionally use a merge strategy different from `recursive` for regular merges: this feature would use the same code path as octopus merges and simply spawn a `git merge`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/revert.c')
0 files changed, 0 insertions, 0 deletions