git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Stefan Beller <sbeller@google.com>
Date
Oct 31, 2017, 17:56 UTC
Message-ID
<CAGZ79kacD1Gw0tyPWv+1_PtFW-wM8SAjFTg_i2bk7ogPBvYn7Q@mail.gmail.com>
In-Reply-To
<5829116.cWPNik6EL4@yoga>

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
Previous: Albert Astals CidNext: Albert Astals Cid
Message 2 of 3 in “Bug/Wish: bash completion for git pull --rebase doesn't include --autostash”
  1. Albert Astals CidOct 31, 2017
  2. Stefan BellerOct 31, 2017
  3. Albert Astals CidNov 20, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.