Re: `git stash pop` UX Problem
- From
- Holger Hellmuth <hellmuth@ira.uka.de>
- Date
- Feb 25, 2014, 12:14 UTC
- Message-ID
- <530C893D.7000108@ira.uka.de>
- In-Reply-To
- <vpqlhx0a3cb.fsf@anie.imag.fr>
Am 24.02.2014 17:21, schrieb Matthieu Moy:
Show 7 quoted lines
> $ git add foo.txt > $ git status > On branch master > Changes to be committed: > (use "git reset HEAD <file>..." to unstage) > > modified: foo.txt
Maybe status should display a stash count if that count is > 0, as this is part of the state of the repo.
$ git status
On branch master
Stashes: 1 <----------
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)modified: foo.txt
It would be in Omars example case a clear message that git kept the stash. And generally a reminder that there is still a stash around that might or might not be obsolete.