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

Re: Possible bug in --short option of git-rev-list

From
Junio C Hamano <junkio@cox.net>
Date
Apr 21, 2007, 09:34 UTC
Message-ID
<7vps5yul49.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<e5bfff550704210232v7a214aa7jc5f55fe26edbf8e3@mail.gmail.com>
"Marco Costalba" <mcostalba@gmail.com> writes:
Show 13 quoted lines
> From git tree
>
> $ git rev-parse v1.5.1.1 HEAD
> c5ec6d00eb063f547e314fdf8a1d8cf09472da6b
> 744747ef1d75c85fb3a1785cb08d36497128d3d3
> $ git rev-parse --short v1.5.1.1 HEAD
> c5ec6d0
> 744747e
> fatal: Needed a single revision
> $
>
> Output is correct, but at the end an (bogus?) error is reported an
> git-rev-parse command exits with error code.
Short is abbrev + verify.  This is not new.
Previous: Marco CostalbaNext: Marco Costalba
Message 2 of 3 in “Possible bug in --short option of git-rev-list”
  1. Marco CostalbaApr 21, 2007
  2. Junio C HamanoApr 21, 2007
  3. Marco CostalbaApr 21, 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.