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
Philip Oakley <philipoakley@iee.email>
Date
Sep 2, 2019, 15:56 UTC
Message-ID
<966960ff-a8bb-42bb-0b0a-13cd00852068@iee.email>
In-Reply-To
<20190902130128.GA2843@instance-1.europe-west6-a.c.vaulted-journal-250706.internal>
On 02/09/2019 14:01, Giuseppe Crinò wrote:
Show 17 quoted lines
>> 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?
>
I'd guess
  1 file changed, 0 insertions(+), 0 deletions(-), *3 files untracked*

as they are what's meant to be in the stash... (obviously format to taste) Philip

Previous: Giuseppe CrinòNext: randall.s.becker@rogers.com
Message 2 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.