Re: A shortcoming of the git repo format
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 27, 2005, 15:22 UTC
- Message-ID
- <Pine.LNX.4.58.0504270820370.18901@ppc970.osdl.org>
- In-Reply-To
- <426F2671.1080105@zytor.com>
On Tue, 26 Apr 2005, H. Peter Anvin wrote:
Show 5 quoted lines
>
> One solution to all of this would be to define a quoting standard for
> strings, and simply require that all free-format strings (like the
> author fields) or at least strings that match [0-9a-f]{20}, are always
> quoted.git uses more of the ".newsrc" format, in that it just knows which characters are legal or not.
To find the email address, look for the first '<'. To find the date, look for the first '>'. Those characters are not allowed in the name or the email, so they act as well-defined delimeters.
Linus