]> git.ipfire.org Git - thirdparty/git.git/commit
rebase -i: add fixup [-C | -c] command
authorCharvi Mendiratta <charvi077@gmail.com>
Fri, 29 Jan 2021 18:20:47 +0000 (23:50 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Jan 2021 23:21:56 +0000 (15:21 -0800)
commit9e3cebd97cbd47909e683e617d5ffa2781f0adaa
treed8630af03308f88441fa8767f552c336d4953b0e
parent71ee81cd9eea308aa72d41fed3ef1cd40b4cb89a
rebase -i: add fixup [-C | -c] command

Add options to `fixup` command to fixup both the commit contents and
message. `fixup -C` command is used to replace the original commit
message and `fixup -c`, additionally allows to edit the commit message.

Original-patch-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Charvi Mendiratta <charvi077@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
rebase-interactive.c
sequencer.c