threads / discuss / 41325

git stash pop --quiet is not always quiet after save -u

Subject: git stash pop --quiet is not always quiet after save -u

## tl;dr

One message between Feb 4, 2016 and Feb 4, 2016.

replies: 0people: 1as markdown or json

Kevin Locke· Feb 4, 2016, 07:55 UTC · lore

Using git 2.7.0 or master (563e3849) apply/pop prints "Already up-to-date!" if the stash contains only untracked files. As an example:

git init git commit --allow-empty -m init touch test.txt git stash -u

Now that the stash contains only untracked files, applying it with either pop or apply produces the following output:

$ git stash pop --quiet Already up-to-date!

It's obviously a minor issue, but can be an annoyance for scripting tasks.

Thanks for considering, Kevin

P.S.  Please CC me on replies.  Thanks!

← back to recent threads