Re: hmm, can't we give the "root" a parent?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 12, 2005, 23:09 UTC
- Message-ID
- <Pine.LNX.4.58.0509121608130.3266@g5.osdl.org>
- In-Reply-To
- <20050912225032.GA8360@vrfy.org>
On Tue, 13 Sep 2005, Kay Sievers wrote:
> > And I would prefer --pretty=raw with '\0' termination instead of '\n' so I can > replace the output from --header with --pretty=raw and can still use the same > parsing routine.
It struck me that "--header" works fine with "--parents".
So if you're currently already using "git-rev-list --header" and parsing that, just add "--parents" and off you go. That's basically the same as --pretty=raw + zero-termination.
Linus