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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/3/07, Marco Costalba <mcostalba@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]