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

log -g --reverse horribly insane

From
Shawn O. Pearce <spearce@spearce.org>
Date
Aug 19, 2007, 08:56 UTC
Message-ID
<20070819085624.GU27913@spearce.org>

OK, I'm just too tired to find this on my own right now. I'll try again later after I get some sleep, but maybe someone with a different sleeping pattern than me will find and fix this before I arise...

  git log -g --reverse --pretty=oneline

Does not produce anything useful. Results are ranging from getting a single line with upwards of 50 commits on it and a corrupt log message to lines with no log message and only one commit, even though the non --reverse output has over 200 results to report.

  git log -g --reverse

Does not show the reflog message headers, but is otherwise fine. So it shows the history according to the reflog (I think that's what I saw) but isn't showing the data I asked for with -g.

Results are the same for HEAD's reflog as for any other branch in my tree. Basically its nutso. I think we need to either support -g --reverse combination properly, or we need to disallow it. The current behavior is uh, not user friendly.

-- 
Shawn.
Next: Junio C Hamano
Message 1 of 2 in “log -g --reverse horribly insane”
  1. Shawn O. PearceAug 19, 2007
  2. Junio C HamanoAug 19, 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.