Re: [PATCH 1/4] notes: print note blob to stdout directly
On Tue, Feb 06, 2024 at 09:52:38AM -0800, Junio C Hamano wrote:
Show 6 quoted lines
> > 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