Re: --ignore-invalid flag to git log et al.?
- From
Paul Mackerras <paulus@samba.org>
- Date
- Jul 11, 2007, 09:07 UTC
- Message-ID
- <18068.40404.772354.34192@cargo.ozlabs.ibm.com>
- In-Reply-To
- <81b0412b0707110046n5ec27328pab0ff33c183f79e@mail.gmail.com>
Alex Riesen writes:
> git rev-parse --revs-only ref1 ref2 ref3 ...?
That stops when it sees an invalid ref and doesn't check the rest. Also if you give it a string of 40 hex digits it will print it out whether it's a valid object ID or not.
Paul.