From: Paul Mackerras Date: Tue, 21 Oct 2008 11:45:28 GMT Subject: Re: git command to read Message-ID: <18685.49368.557513.727997@cargo.ozlabs.ibm.com> In-Reply-To: <20081021112521.GC17363@coredump.intra.peff.net> Jeff King writes: > 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.