# Stash Feature

3 messages from 2015-06-03 to 2015-06-03. Participants: Fabrizio Mancin, Konstantin Khomoutov, Randal L. Schwartz.
Thread: https://gitlist.dev/t/39516

## Fabrizio Mancin, 2015-06-03 15:22

Subject: Stash Feature
Message-ID: <CAGmnFohE3ihA8T8srk1BpXg5z80tnjyUhdjFieXGYm=T0gkMUA@mail.gmail.com>
URL: https://gitlist.dev/e/CAGmnFohE3ihA8T8srk1BpXg5z80tnjyUhdjFieXGYm%3DT0gkMUA%40mail.gmail.com

```
 Hi Guys,

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?

Thank you
Fabrizio

```

## Konstantin Khomoutov, 2015-06-03 15:53

Subject: Re: Stash Feature
Message-ID: <20150603185358.a30d606cc0c475cb17a048c7@domain007.com>
URL: https://gitlist.dev/e/20150603185358.a30d606cc0c475cb17a048c7%40domain007.com
In-Reply-To: <CAGmnFohE3ihA8T8srk1BpXg5z80tnjyUhdjFieXGYm=T0gkMUA@mail.gmail.com>

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

> 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}

```

## Randal L. Schwartz, 2015-06-03 18:53

Subject: Re: Stash Feature
Message-ID: <86lhg0vd26.fsf@red.stonehenge.com>
URL: https://gitlist.dev/e/86lhg0vd26.fsf%40red.stonehenge.com
In-Reply-To: <20150603185358.a30d606cc0c475cb17a048c7@domain007.com>

```
>>>>> "Konstantin" == Konstantin Khomoutov <kostix+git@007spb.ru> writes:

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

>> 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?

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

git stash list can take a --format as well.  Here's a couple of my
aliases:

  sl = stash list --pretty='%gd: %h [%ar] %s'
  stashed = stash list --pretty='%gd: %Cred%h%Creset %Cgreen[%ar]%Creset %s'


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix consulting, Technical writing, Comedy, etc. etc.
Still trying to think of something clever for the fourth line of this .sig

```
