# doc bug for git-patch-id ?

2 messages from 2012-05-21 to 2012-05-21. Participants: David Bremner, Junio C Hamano.
Thread: https://gitlist.dev/t/30578

## David Bremner, 2012-05-21 13:37

Subject: doc bug for git-patch-id ?
Message-ID: <87zk911wpy.fsf@zancas.localnet>
URL: https://gitlist.dev/e/87zk911wpy.fsf%40zancas.localnet

```

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, 2012-05-21 22:15

Subject: Re: doc bug for git-patch-id ?
Message-ID: <7vipfp6v0j.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vipfp6v0j.fsf%40alter.siamese.dyndns.org
In-Reply-To: <87zk911wpy.fsf@zancas.localnet>

```
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.

```
