Re: git command to read
Show 15 quoted lines
> On Tue, Oct 21, 2008 at 10:21:09PM +1100, Paul Mackerras wrote:
>
> > Is there a command in git at the moment that will read commit IDs on
> > standard input and print the contents of each commit on standard
> > output (without waiting for EOF on stdin)?
>
> How about:
>
> git cat-file --batch
>
> ?
>
> Unfortunately it just dumps the raw commit information instead of
> allowing the usual formatting, but perhaps that is sufficient (you asked
> for "contents").
Ah, thank you, that looks like just what I want. :)
Paul.