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

Re: Bug with rev-list --reverse?

From
John Keeping <john@keeping.me.uk>
Date
Apr 18, 2013, 10:26 UTC
Message-ID
<20130418102644.GY2278@serenity.lan>
In-Reply-To
<CAMP44s25mUA1M+K+YKaC=bz3Dr7kSDyXK5g2ot8i+1EPy8zRhA@mail.gmail.com>
On Thu, Apr 18, 2013 at 05:17:14AM -0500, Felipe Contreras wrote:
Show 7 quoted lines
> If I do these:
> 
> % git log --oneline -1 v1.8.1.5^..v1.8.1.6
> % git log --oneline --reverse -1 v1.8.1.5^..v1.8.1.6
> 
> I expect to get a different output, and not both showing v1.8.1.6.
> Wouldn't you agree?

I expect to get the same output. This is probably because I consider --reverse to be an output filter. So I expect to show the commits "v1.8.1.5^..v1.8.1.6 -1" which selects a single commit and then show that in reverse order.

Previous: Felipe ContrerasNext: Felipe Contreras
Message 2 of 7 in “Bug with rev-list --reverse?”
  1. Felipe ContrerasApr 18, 2013
  2. John KeepingApr 18, 2013
  3. Felipe ContrerasApr 18, 2013
  4. Peter KreftingApr 18, 2013
  5. Felipe ContrerasApr 18, 2013
  6. Thomas RastApr 18, 2013
  7. Junio C HamanoApr 18, 2013

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.