{"thread":{"id":"46765","subject":"Behaviour of 'git stash show' when a stash has untracked files","startedAt":"2017-09-17T05:28:22Z","lastAt":"2017-09-17T05:28:22Z","messageCount":1,"participants":["Kaartic Sivaraam"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"328245","messageId":"1505624855.9625.4.camel@gmail.com","threadId":"46765","inReplyTo":null,"subject":"Behaviour of 'git stash show' when a stash has untracked files","fromName":"Kaartic Sivaraam","fromEmail":"kaarticsivaraam91196@gmail.com","sentAt":"2017-09-17T05:07:35Z","receivedAt":"2017-09-17T05:28:22Z","isPatch":false,"sender":{"key":"kaartic.sivaraam@gmail.com","avatar":"https://avatars.githubusercontent.com/u/12448084?v=4"},"body":"Some time ago, I stashed a few changes along with untracked files. I\nalmost forgot it until recently. Then I wanted to see what I change I\nhad in the stash. So I did a 'git stash show <num>'. It worked fine but\ndidn't say anything about the untracked files in that stash. That made\nme wonder where the untracked files I added went. I then applied the\nstash to see that they were still there but weren't listed in show.\n\nI understand that they aren't listed because 'git stash show' is\ntypically a \"diff between the stashed state and its original parent\" as\nthe documentation says but shouldn't there be at least a message that\nthe stash contains untracked files. Those untracked files are \"part of\nthe stash\" and I see no way to get information about their presence\ncurrently.\n\n-- \nKaartic\n"}]}