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

Re: Stash Feature

From
KKKonstantin Khomoutov <kostix+git@007spb.ru>
Date
Jun 3, 2015, 15:53 UTC
Message-ID
<20150603185358.a30d606cc0c475cb17a048c7@domain007.com>
In-Reply-To
<CAGmnFohE3ihA8T8srk1BpXg5z80tnjyUhdjFieXGYm=T0gkMUA@mail.gmail.com>

On Wed, 3 Jun 2015 17:22:57 +0200 Fabrizio Mancin <fabman08@gmail.com> wrote:

Show 6 quoted lines
> I've a little request for you.
> What about saving date-time on git stash save command and show it on
> git stash show stash@{xxx}?
> I think it is a useful poperty to save.
> 
> What do you think about it?

This information is already there as a stash entry is internally represented as a commit (with one or more parents), and being a commit, it possess all the standard attributes of a commit, including the creation timestamp.

To get "normal" view of this commit just run
  git show stash@{0}
Previous: Fabrizio MancinNext: Randal L. Schwartz
Message 2 of 3 in “Stash Feature”
  1. Fabrizio MancinJun 3, 2015
  2. Konstantin KhomoutovJun 3, 2015
  3. Randal L. SchwartzJun 3, 2015

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.