Am 24.02.2014 17:21, schrieb Matthieu Moy:
$ 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.


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

Reply via email to