sequencer: always allow tab after command name

The code that parses the todo list allows an unabbreviated command name to be followed by a space or a tab, but if the command name is abbreviated it only allows a space after it. Fix this inconsistency. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Phillip Wood committed Jun 27, 2019 at 07:12 UTC d258dc16c1bf92c01135c38130869da7808ed739
1 file changed +1 -1
sequencer.c
+1 -1
@@ -2100,7 +2100,7 @@ static int parse_insn_line(struct repository *r, struct todo_item *item,
2100 if (skip_prefix(bol, todo_command_info[i].str, &bol)) {
2101 item->command = i;
2102 break;
2103 - } else if ((bol + 1 == eol || bol[1] == ' ') &&
2103 + } else if ((bol + 1 == eol || bol[1] == ' ' || bol[1] == '\t') &&
2104 *bol == todo_command_info[i].c) {
2105 bol++;
2106 item->command = i;