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

[PATCH 0/2] completion: teach rebase and archive to use __gitcomp_builtin

From
Denton Liu <liu.denton@gmail.com>
Date
Sep 12, 2019, 19:43 UTC
Message-ID
<cover.1568317093.git.liu.denton@gmail.com>

Currently, the completion function for rebase and archive don't take advantage of __gitcomp_builtin(). Teach them to use it so that future changes to options will automatically be included by the completion script with no extra work.

I discovered rebase wasn't using it and fixed that and I started looking for other low-hanging fruit to fix. I deliberately left stuff like diff and log alone since that's a whole Pandora's box that I don't really want to open right now.

Denton Liu (2):
  completion: teach rebase to use __gitcomp_builtin
  completion: teach archive to use __gitcomp_builtin
 contrib/completion/git-completion.bash | 27 ++++++++------------------
 1 file changed, 8 insertions(+), 19 deletions(-)
-- 
2.23.0.37.g745f681289
Next: Denton Liu
Message 1 of 4 in “completion: teach rebase and archive to use __gitcomp_builtin”
  1. 0/2 completion: teach rebase and archive to use __gitcomp_builtinDenton Liu, Sep 12, 2019
  2. 1/2 completion: teach rebase to use __gitcomp_builtinDenton Liu, Sep 12, 2019
  3. 2/2 completion: teach archive to use __gitcomp_builtinDenton Liu, Sep 12, 2019
  4. Junio C HamanoSep 12, 2019

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.