threads / bug / 47083

Bug/Wish: bash completion for git pull --rebase doesn't include --autostash

Subject: Bug/Wish: bash completion for git pull --rebase doesn't include --autostash

## tl;dr

3 messages between Oct 31, 2017 and Nov 20, 2017.

replies: 2people: 2as markdown or json

Albert Astals Cid· Oct 31, 2017, 15:21 UTC · lore
git pull --rebase --autostash

is a valid command but the --autostash autocompletion is not suggested after typing

git pul<TAB> --reb<TAB --au<TAB
Would be great if that could be added.
Thanks :)
Albert
P.S: I'm not subscribed CC me if need me to test something
-- 
Albert Astals Cid | albert.astals.cid@kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts
Stefan Beller· Oct 31, 2017, 17:56 UTC · re: Albert Astals Cid · lore

Re: Bug/Wish: bash completion for git pull --rebase doesn't include --autostash

On Tue, Oct 31, 2017 at 8:21 AM, Albert Astals Cid <albert.astals.cid@kdab.com> wrote:

Show 14 quoted lines
> git pull --rebase --autostash
>
> is a valid command but the --autostash autocompletion is not suggested after
> typing
>
> git pul<TAB> --reb<TAB --au<TAB
>
> Would be great if that could be added.
>
> Thanks :)
>
> Albert
>
> P.S: I'm not subscribed CC me if need me to test something
Maybe you can propose a patch for this?
Rough steps to success:
  git clone git://git.kernel.org/pub/scm/git/git.git/
  cd git
  $EDIT contrib/completion/git-completion.bash
   (look for _git_pull)
  git commit -m "my first commit to git"
  (This is paraphrased, see Documentation/SubmittingPatches
   for a better idea how to craft commit messages)
  git format-patch HEAD^
  git send-email 0001-xxx.patch
Show 6 quoted lines
>
> --
> Albert Astals Cid | albert.astals.cid@kdab.com | Software Engineer
> Klarälvdalens Datakonsult AB, a KDAB Group company
> Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
> KDAB - The Qt, C++ and OpenGL Experts
Albert Astals Cid· Nov 20, 2017, 15:08 UTC · re: Stefan Beller · lore

Re: Bug/Wish: bash completion for git pull --rebase doesn't include --autostash

Patch sent, please still CC me as i'm not on the list.
Cheers,
  Albert

El dimarts, 31 d’octubre de 2017, a les 18:56:22 CET, Stefan Beller va escriure:

Show 37 quoted lines
> On Tue, Oct 31, 2017 at 8:21 AM, Albert Astals Cid
> 
> <albert.astals.cid@kdab.com> wrote:
> > git pull --rebase --autostash
> > 
> > is a valid command but the --autostash autocompletion is not suggested
> > after typing
> > 
> > git pul<TAB> --reb<TAB --au<TAB
> > 
> > Would be great if that could be added.
> > 
> > Thanks :)
> > 
> > Albert
> > 
> > P.S: I'm not subscribed CC me if need me to test something
> 
> Maybe you can propose a patch for this?
> 
> Rough steps to success:
> 
>   git clone git://git.kernel.org/pub/scm/git/git.git/
>   cd git
>   $EDIT contrib/completion/git-completion.bash
>    (look for _git_pull)
>   git commit -m "my first commit to git"
>   (This is paraphrased, see Documentation/SubmittingPatches
>    for a better idea how to craft commit messages)
>   git format-patch HEAD^
>   git send-email 0001-xxx.patch
> 
> > --
> > Albert Astals Cid | albert.astals.cid@kdab.com | Software Engineer
> > Klarälvdalens Datakonsult AB, a KDAB Group company
> > Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
> > KDAB - The Qt, C++ and OpenGL Experts
-- 
Albert Astals Cid | albert.astals.cid@kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts

← back to recent threads