git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Kevin Locke <kevin@kevinlocke.name>
Date
Feb 4, 2016, 07:55 UTC
Message-ID
<20160204075532.GB25382@kevinolos>

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!
Message 1 of 1 in “git stash pop --quiet is not always quiet after save -u”
  1. Kevin LockeFeb 4, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.