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

git stash list shows timestamp in stead of "stash number", when setting date = local for log in config

From
ASAlf Kristian Støyle <alf.kristian@gmail.com>
Date
Sep 15, 2009, 14:56 UTC
Message-ID
<49578b170909150756k3c19912dv28615053a6bd0f7d@mail.gmail.com>
Hi. Searched the lists, but haven't found anyone reporting this problem.

When doing a "git stash list" I get this strange stash record: stash@{Tue Sep 15 16:28:12 2009}: WIP on master: 2262276 ...

I have a global config setting on log:

[log] date = local

If setting the date config to default or removing the setting, the stash record looks correct: stash@{0}: WIP on master: 2262276 ...

I might be missing something here, but I do find this a bit strange. Is this a bug or a feature, and is there a setting I can use (for stash) to always show the latter line? I kind of like having local timestamps in log.

I am using git version 1.6.4.2 on the Mac.
Thanks
- Alf
Next: Jeff King
Message 1 of 5 in “git stash list shows timestamp in stead of "stash number", when setting date = local for log in config”
  1. Alf Kristian StøyleSep 15, 2009
  2. Jeff KingSep 24, 2009
  3. Shawn O. PearceSep 25, 2009
  4. improve reflog date/number heuristicJeff King, Sep 27, 2009
  5. Alf Kristian StøyleSep 27, 2009

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.