summaryrefslogtreecommitdiff
path: root/t/t4018
diff options
context:
space:
mode:
authorLibravatar Alban Gruin <alban.gruin@gmail.com>2020-03-30 14:42:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-30 12:47:08 -0700
commit68e7090f31b4d4f2c7b9a25240af61149fbebb5c (patch)
treec6fca4a292783bd02cc3f39dfa325061b83dacd3 /t/t4018
parentGit 2.26 (diff)
downloadtgif-68e7090f31b4d4f2c7b9a25240af61149fbebb5c.tar.xz
sequencer: don't abbreviate a command if it doesn't have a short form
When the sequencer is requested to abbreviate commands, it will replace those that do not have a short form (eg. `noop') by a comment mark. `noop' serves no purpose, except when fast-forwarding (ie. by running `git rebase'). Removing it will break this command when `rebase.abbreviateCommands' is set to true. Teach todo_list_to_strbuf() to check if a command has an actual short form, and to ignore it if not. Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018')
0 files changed, 0 insertions, 0 deletions