{"thread":{"id":"49441","subject":"[PATCH] git-completion.bash: Add completion for stash list","startedAt":"2018-09-27T20:09:47Z","lastAt":"2018-09-27T20:09:47Z","messageCount":1,"participants":["Steve"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"359111","messageId":"4652c92c88b6c256d7bb51cd6524088eba4f4387.camel@lonetwin.net","threadId":"49441","inReplyTo":null,"subject":"[PATCH] git-completion.bash: Add completion for stash list","fromName":"Steve","fromEmail":"steve@lonetwin.net","sentAt":"2018-09-27T20:09:42Z","receivedAt":"2018-09-27T20:09:47Z","isPatch":true,"sender":{"key":"steve@lonetwin.net","avatar":"https://avatars.githubusercontent.com/u/101819?v=4"},"body":"Since stash list accepts git-log options, add the following useful\noptions that make sense in the context of the `git stash list` command:\n\n  --name-status --oneline --patch-with-stat\n\nSigned-off-by: Steven Fernandez <steve@lonetwin.net>\n---\n\nThis is my first patch to the project so please be excuse any process errors. I\nthink my mail client messed up the line wrapping in my last mail. Hopefully this\none's better. Although, I've tried my best to follow the guidelines in\nDocumentation/SubmittingPatches but I'm not sure if I missed anything.\n\n contrib/completion/git-completion.bash | 3 +++\n 1 file changed, 3 insertions(+)\n\ndiff --git contrib/completion/git-completion.bash contrib/completion/git-completion.bash\nindex d63d2dffd..06ec6ca11 100644\n--- contrib/completion/git-completion.bash\n+++ contrib/completion/git-completion.bash\n@@ -2567,6 +2567,9 @@ _git_stash ()\n \t\tdrop,--*)\n \t\t\t__gitcomp \"--quiet\"\n \t\t\t;;\n+\t\tlist,--*)\n+\t\t\t__gitcomp \"--name-status --oneline --patch-with-stat\"\n+\t\t\t;;\n \t\tshow,--*|branch,--*)\n \t\t\t;;\n \t\tbranch,*)\n-- \n2.17.1\n\n"}]}