Re: Possible regression in git-rev-list --header

From: Lars Hjemli <hjemli@gmail.com>
Date: 2007-01-03 21:21:33
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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Jan 03 21:25:18 2007

This archive was generated by hypermail 2.1.8 : 2007-01-03 21:26:48 EST