From: Jeff King Date: Tue, 13 Feb 2024 08:00:14 GMT Subject: Re: [PATCH 1/4] notes: print note blob to stdout directly Message-ID: <20240213080014.GB2225494@coredump.intra.peff.net> In-Reply-To: On Tue, Feb 06, 2024 at 09:52:38AM -0800, Junio C Hamano wrote: > > That is also a cool idea. That would probably use the functionality of > > the cat-file batch mode, right? > > Not really. I was hoping that "git show" that can take multiple > objects from its command line would directly be used, or with a new > option that gives a separator between these objects. How about: cat some_commit_ids | git show --stdin -s -z --format='%H%n%N' ? -Peff