]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3418-rebase-continue.sh
rebase -i: recognize short commands without arguments
authorJohannes Sixt <j6t@kdbg.org>
Thu, 25 Oct 2018 20:47:45 +0000 (22:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Oct 2018 01:20:23 +0000 (10:20 +0900)
commit3a4a4cab3ef024e10af7a5bbcaed4b961c60f1db
tree845fa7bba14ed40fbc833f3f7a999a684ffd1557
parent71f82465b1c9546a09c442c3c9aa22ecbb76f820
rebase -i: recognize short commands without arguments

The sequencer instruction 'b', short for 'break', is rejected:

  error: invalid line 2: b

The reason is that the parser expects all short commands to have
an argument. Permit short commands without arguments.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
t/lib-rebase.sh
t/t3418-rebase-continue.sh