Re: [PATCH 10/10] revert: report fine-grained error messages from insn parser
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Dec 15, 2011, 23:18 UTC
- Message-ID
- <CALkWK0k6Vf51nk3jLs3z1LvzRnCb46obVDZh8h5byzTzCBctJw@mail.gmail.com>
- In-Reply-To
- <7vsjklmsvt.fsf@alter.siamese.dyndns.org>
Hi Junio,
Junio C Hamano wrote:
Show 12 quoted lines
> Ramkumar Ramachandra <artagnon@gmail.com> writes: > >> Three kinds of errors can arise from parsing '.git/sequencer/todo': >> 1. Unrecognized action >> 2. Missing space after valid action prefix > > I think these two are the same and shouldn't result in different error > messages, i.e. the first one in this sequence is still an "Unrecognized > action" error and does not have anything to do with "pick" action. > > pickle rr/cherry-pick~4 > pick rr/cherry-pick~3
Good point. I'll change the parser to check for "pick " || "pick\t" and "revert " || "revert\t" explicitly in the re-roll.
Thanks.
-- Ram