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