{"thread":{"id":"47251","subject":"[PATCH] bash completion: Add --autostash and --no-autostash to pull","startedAt":"2017-11-20T15:07:59Z","lastAt":"2017-11-21T14:39:59Z","messageCount":3,"participants":["Albert Astals Cid","Eric Sunshine"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"332907","messageId":"3893514.emzqGSqeDI@yoga","threadId":"47251","inReplyTo":null,"subject":"[PATCH] bash completion: Add --autostash and --no-autostash to pull","fromName":"Albert Astals Cid","fromEmail":"albert.astals.cid@kdab.com","sentAt":"2017-11-20T15:07:49Z","receivedAt":"2017-11-20T15:07:59Z","isPatch":true,"sender":{"key":"albert.astals.cid@kdab.com","avatar":"https://avatars.githubusercontent.com/u/29123807?v=4"},"body":"Ideally we should only autocomplete if pull has --rebase since\nthey only work with it but could not figure out how to do that\nand the error message of doing git pull --autostash points out\nthat you need --rebase so i guess it's good enough\n---\n contrib/completion/git-completion.bash | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-\ncompletion.bash\nindex 539d7f84f..7ded58f38 100644\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -1923,6 +1923,7 @@ _git_pull ()\n \t--*)\n \t\t__gitcomp \"\n \t\t\t--rebase --no-rebase\n+\t\t\t--autostash --no-autostash\n \t\t\t$__git_merge_options\n \t\t\t$__git_fetch_options\n \t\t\"\n-- \n2.15.0\n\n\n"},{"id":"333020","messageId":"CAPig+cTncgDToo0=zHsBHfCPMPTYNumNAhTgOnhceLHpse3wuw@mail.gmail.com","threadId":"47251","inReplyTo":"3893514.emzqGSqeDI@yoga","subject":"Re: [PATCH] bash completion: Add --autostash and --no-autostash to pull","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2017-11-20T23:14:24Z","receivedAt":"2017-11-20T23:14:32Z","isPatch":true,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Mon, Nov 20, 2017 at 10:07 AM, Albert Astals Cid\n<albert.astals.cid@kdab.com> wrote:\n> Ideally we should only autocomplete if pull has --rebase since\n> they only work with it but could not figure out how to do that\n> and the error message of doing git pull --autostash points out\n> that you need --rebase so i guess it's good enough\n\nMissing Signed-off-by:. See Documentation/SubmittingPatches. Thanks.\n\n> ---\n> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-\n> completion.bash\n> index 539d7f84f..7ded58f38 100644\n> --- a/contrib/completion/git-completion.bash\n> +++ b/contrib/completion/git-completion.bash\n> @@ -1923,6 +1923,7 @@ _git_pull ()\n>         --*)\n>                 __gitcomp \"\n>                         --rebase --no-rebase\n> +                       --autostash --no-autostash\n>                         $__git_merge_options\n>                         $__git_fetch_options\n>                 \"\n"},{"id":"333097","messageId":"1951105.ys1K0KXRL2@yoga","threadId":"47251","inReplyTo":"CAPig+cTncgDToo0=zHsBHfCPMPTYNumNAhTgOnhceLHpse3wuw@mail.gmail.com","subject":"Re: [PATCH] bash completion: Add --autostash and --no-autostash to pull","fromName":"Albert Astals Cid","fromEmail":"albert.astals.cid@kdab.com","sentAt":"2017-11-21T14:39:51Z","receivedAt":"2017-11-21T14:39:59Z","isPatch":true,"sender":{"key":"albert.astals.cid@kdab.com","avatar":"https://avatars.githubusercontent.com/u/29123807?v=4"},"body":"El dimarts, 21 de novembre de 2017, a les 0:14:24 CET, Eric Sunshine va \nescriure:\n> On Mon, Nov 20, 2017 at 10:07 AM, Albert Astals Cid\n> \n> <albert.astals.cid@kdab.com> wrote:\n> > Ideally we should only autocomplete if pull has --rebase since\n> > they only work with it but could not figure out how to do that\n> > and the error message of doing git pull --autostash points out\n> > that you need --rebase so i guess it's good enough\n> \n> Missing Signed-off-by:. See Documentation/SubmittingPatches. Thanks.\n\nAdded.\n\nCheers,\n  Albert\n\n> \n> > ---\n> > diff --git a/contrib/completion/git-completion.bash\n> > b/contrib/completion/git- completion.bash\n> > index 539d7f84f..7ded58f38 100644\n> > --- a/contrib/completion/git-completion.bash\n> > +++ b/contrib/completion/git-completion.bash\n> > @@ -1923,6 +1923,7 @@ _git_pull ()\n> > \n> >         --*)\n> >         \n> >                 __gitcomp \"\n> >                 \n> >                         --rebase --no-rebase\n> > \n> > +                       --autostash --no-autostash\n> > \n> >                         $__git_merge_options\n> >                         $__git_fetch_options\n> >                 \n> >                 \"\n\n\n-- \nAlbert Astals Cid | albert.astals.cid@kdab.com | Software Engineer\nKlarälvdalens Datakonsult AB, a KDAB Group company\nTel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)\nKDAB - The Qt, C++ and OpenGL Experts\n"}]}