{"action":"closed","issue":{"url":"https://api.github.com/repos/Brickstertwo/git-commands/issues/32","labels_url":"https://api.github.com/repos/Brickstertwo/git-commands/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/Brickstertwo/git-commands/issues/32/comments","events_url":"https://api.github.com/repos/Brickstertwo/git-commands/issues/32/events","html_url":"https://github.com/Brickstertwo/git-commands/issues/32","id":115901697,"number":32,"title":"Fix tuck printing unrelated files in output","user":{"login":"Brickstertwo","id":2048345,"avatar_url":"https://avatars.githubusercontent.com/u/2048345?v=3","gravatar_id":"","url":"https://api.github.com/users/Brickstertwo","html_url":"https://github.com/Brickstertwo","followers_url":"https://api.github.com/users/Brickstertwo/followers","following_url":"https://api.github.com/users/Brickstertwo/following{/other_user}","gists_url":"https://api.github.com/users/Brickstertwo/gists{/gist_id}","starred_url":"https://api.github.com/users/Brickstertwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brickstertwo/subscriptions","organizations_url":"https://api.github.com/users/Brickstertwo/orgs","repos_url":"https://api.github.com/users/Brickstertwo/repos","events_url":"https://api.github.com/users/Brickstertwo/events{/privacy}","received_events_url":"https://api.github.com/users/Brickstertwo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Brickstertwo/git-commands/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-09T15:37:00Z","updated_at":"2015-12-26T23:58:53Z","closed_at":"2015-12-26T23:58:53Z","body":"When using a pathspec, the output text prints more than is should:\r\n\r\n```bash\r\n$ ls\r\nREADME.md\tfile1.txt\tfile2.txt\r\n$ git status --short\r\n M README.md\r\n?? file2.txt\r\n$ git tuck -- *.txt\r\nTucked files: file2.txt file1.txt\r\n$ git diff --name-only stash@{0}\r\nREADME.md\r\n```\r\n\r\n`file1.txt` wasn't stashed but shouldn't be in the output either. While #31 will make this irrelevant. The fact that unrelated files are in the file list is worth looking into. It could cause other issues."}}