git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Alex RiesenNext: Junio C Hamano
Message 3 of 4 in “--ignore-invalid flag to git log et al.?”
  1. Paul MackerrasJul 11, 2007
  2. Alex RiesenJul 11, 2007
  3. Paul MackerrasJul 11, 2007
  4. Junio C HamanoJul 11, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.