From: Lars Hjemli Date: Wed, 03 Jan 2007 10:21:33 GMT Subject: Re: Possible regression in git-rev-list --header Message-ID: <8c5c35580701030221w5c04e2eaq757d12c4ca0b0780@mail.gmail.com> In-Reply-To: On 1/3/07, Marco Costalba wrote: > - one blank line > - zero or one line with log title > - zero or more lines with log message > - a terminating '\0' I think the should be: -zero or more blank lines -zero or more non-blank lines with log title -zero or more blank lines -zero or more lines with log message -a terminating '\0' ...which implies that all of these rules (except the last) are optional and only triggers if the _previous_ rule triggered. In other words: commit ::= header [blank+ [title+ [blank+ text*]]] '\0' header ::= tree parent* author committer -- larsh