On Monday, August 19, 2013 10:51:26 PM UTC+2, Alex Shulgin wrote:

> Hello,
> Can git display presence of stashed changes in the repository in the 
> output of git-status?  If the answer is no, do you think it would be a 
> welcome addition?
> The story: today I was quite puzzled to see a change I remember doing some 
> time ago has been lost and not to be found on any branch of my repo.  After 
> scratching my head for quite a while and when I was nearly ready to start 
> writing it again, I looked in the stashed changes and, bingo! it was there. 
>  Phe-e-ew.  I figure it could save me some nerve if git would just give me 
> a hint in the git-status, like so:
> # On branch master
> # You have stashed changes
> #
> ...
> The output of git-status is really verbose already (and quite helpful for 
> beginners will all these use this command to do this, use that command to 
> do that, etc.,) so I figure adding this won't hurt anyone and will remind 
> to deal with the temp uncommitted changes timely before they get lost.
> --
I think it's an interesting idea.

I probably wouldn't change the default behavior for legacy reasons, but it 
could be configured. 

For the idea to be considered properly, bring it up on the Git dev 
In the mean time, you can get what you need by using an alias:

git config --global alias.st '!git status && git stash list'

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to