Re: Possible regression in git-rev-list --header
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Jan 3, 2007, 10:21 UTC
- Message-ID
- <8c5c35580701030221w5c04e2eaq757d12c4ca0b0780@mail.gmail.com>
- In-Reply-To
- <e5bfff550701030121n700fab25x63278457c884a3f7@mail.gmail.com>
On 1/3/07, Marco Costalba <mcostalba@gmail.com> 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