threads / bug / 30578

doc bug for git-patch-id ?

Subject: doc bug for git-patch-id ?

## tl;dr

2 messages between May 21, 2012 and May 21, 2012.

replies: 1people: 2as markdown or json

David Bremner· May 21, 2012, 13:37 UTC · lore
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
 
Junio C Hamano· May 21, 2012, 22:15 UTC · re: David Bremner · lore

Re: doc bug for git-patch-id ?

David Bremner <david@tethera.net> writes:
Show 5 quoted lines
> 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.

← back to recent threads