summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-11-24 12:10:41 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-26 10:10:49 +0900
commit22d99f012f9b33ede37c47a195bad7c12dae596b (patch)
treeabe2a7b6d4313c73d0533bbc91ffe45a3d25feef /commit-graph.c
parent3916ec307eda00d1aab23cf8d1b6ddc5c4f3601d (diff)
replay: add --advance or 'cherry-pick' mode
There is already a 'rebase' mode with `--onto`. Let's add an 'advance' or 'cherry-pick' mode with `--advance`. This new mode will make the target branch advance as we replay commits onto it. The replayed commits should have a single tip, so that it's clear where the target branch should be advanced. If they have more than one tip, this new mode will error out. Co-authored-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions