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

Re: "git stash list" shows HEAD reflog

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Mar 13, 2010, 21:49 UTC
Message-ID
<4B9C086D.10004@lsrfire.ath.cx>
In-Reply-To
<alpine.DEB.2.00.1003131312540.796@narbuckle.genericorp.net>
Am 13.03.2010 22:21, schrieb Dave Olszewski:
> Maybe, although I'm not sure if dying here is the right behavior.  Is an
> empty reflog really an error?
Yeah, that might be a bit heavy-handed.  *ahem*
> I was testing a patch along the lines of
> what Vladimir proposed, which was simply to not set the default rev if a
> valid user-specified argument was found, whether or not it contains
> commits.

Sounds more like it. How did the tests go? Does it result in empty output (which is what I would expect from an empty reflog, now that I stopped and thought about it for a second)?

René
Previous: Dave OlszewskiNext: Dave Olszewski
Message 6 of 11 in “"git stash list" shows HEAD reflog”
  1. Vladimir PanteleevMar 12, 2010
  2. René ScharfeMar 13, 2010
  3. Dave OlszewskiMar 13, 2010
  4. René ScharfeMar 13, 2010
  5. Dave OlszewskiMar 13, 2010
  6. René ScharfeMar 13, 2010
  7. don't use default revision if a rev was specifiedDave Olszewski, Mar 13, 2010
  8. René ScharfeMar 13, 2010
  9. Junio C HamanoMar 14, 2010
  10. Pete HarlanMar 13, 2010
  11. René ScharfeMar 13, 2010

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.