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

Re: [BUG} stash show does not show untracked files stashed (reposted)

From
Giuseppe Crinò <giuscri@gmail.com>
Date
Sep 2, 2019, 13:01 UTC
Message-ID
<20190902130128.GA2843@instance-1.europe-west6-a.c.vaulted-journal-250706.internal>
> Suppose I have files a,b,c,d modified, but only file d is in the index.
> After stash push  (or save) --include-untracked, stash show only displays
> file d. A subsequent pop will restore files a,b,c,d. So functionally push
> and pop are fine, but stash show appears to ignores files in the stash.
This is more of an enhancement, isn't it?
To reproduce
$ touch a b c d
$ git add d
$ git stash push --include-untracked
$ git stash show
 d | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
What is the output that you think should be printed?
-Giuseppe
Next: Philip Oakley
Message 1 of 3 in “Re: [BUG} stash show does not show untracked files stashed (reposted)”
  1. Giuseppe CrinòSep 2, 2019
  2. Philip OakleySep 2, 2019
  3. randall.s.becker@rogers.comSep 2, 2019

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.