* doc bug for git-patch-id ?
@ 2012-05-21 13:37 David Bremner
2012-05-21 22:15 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: David Bremner @ 2012-05-21 13:37 UTC (permalink / raw
To: Git Mailing List
I just discovered that
git log -p $ref | git patch-id
works in place of a corresponding loop using git show | git patch-id
This makes a script I'm hacking on about 10 times faster.
Am I correct in thinking this should be documented better in the man
page? At least the intent of the source "generate_id_list" seems to be
to support multiple patches on stdin.
I can probably work up a doc patch; of course if somebody else actually
knows what the doc should say is welcome to write it ;).
David
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: doc bug for git-patch-id ?
2012-05-21 13:37 doc bug for git-patch-id ? David Bremner
@ 2012-05-21 22:15 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-05-21 22:15 UTC (permalink / raw
To: David Bremner; +Cc: Git Mailing List
David Bremner <david@tethera.net> writes:
> I just discovered that
>
> git log -p $ref | git patch-id
>
> works in place of a corresponding loop using git show | git patch-id
I think it has been designed to work that way from very early days.
Patches to clarify documentation, if the current one is lacking, is very
much welcomed.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-21 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21 13:37 doc bug for git-patch-id ? David Bremner
2012-05-21 22:15 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).