Re: A shortcoming of the git repo format
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Apr 27, 2005, 18:47 UTC
- Message-ID
- <426FDE48.1050700@zytor.com>
- In-Reply-To
- <20050427183239.GE19011@redhat.com>
Dave Jones wrote:
Show 7 quoted lines
> > That actually broke one of my first git scripts when one of the > changelog texts started a line with 'tree '. I hacked around it > by making my script only grep in the 'head -n4' lines, but this > seems somewhat fragile having to make assumptions that the field > I want to see is in the first 4 lines. >
You have the delimiter for that; there is an empty line between the header and the free-form body, similar as for RFC822.
-hpa