From: Ramkumar Ramachandra Date: Thu, 15 Dec 2011 23:18:35 GMT Subject: Re: [PATCH 10/10] revert: report fine-grained error messages from insn parser Message-ID: In-Reply-To: <7vsjklmsvt.fsf@alter.siamese.dyndns.org> Hi Junio, Junio C Hamano wrote: > Ramkumar Ramachandra 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