Re: Stash Feature

2015-06-03 Thread Randal L. Schwartz
 Konstantin == Konstantin Khomoutov kostix+...@007spb.ru writes:

Konstantin On Wed, 3 Jun 2015 17:22:57 +0200
Konstantin Fabrizio Mancin fabma...@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
mer...@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
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Stash Feature

2015-06-03 Thread Fabrizio Mancin
 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
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Stash Feature

2015-06-03 Thread Konstantin Khomoutov
On Wed, 3 Jun 2015 17:22:57 +0200
Fabrizio Mancin fabma...@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}
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html