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

[PATCH v6 0/3] completion: refactor and zsh wrapper

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Oct 22, 2012, 01:45 UTC
Message-ID
<1350870342-22653-1-git-send-email-felipe.contreras@gmail.com>
Hi,

Here's a bit of reorganition. I'm introducing a new __gitcompadd helper that is useful to wrapp all changes to COMPREPLY, but first, lets get rid of unnecessary assignments as SZEDER suggested.

The zsh wrapper is now very very simple.
Since v5:
 
 * Get rid of unnecessary COMPREPLY assignments
Felipe Contreras (3):
  completion: get rid of empty COMPREPLY assignments
  completion: add new __gitcompadd helper
  completion: add new zsh completion
 contrib/completion/git-completion.bash | 41 ++++++-----------------------
 contrib/completion/git-completion.zsh  | 48 ++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 33 deletions(-)
 create mode 100644 contrib/completion/git-completion.zsh
-- 
1.8.0
Next: Felipe Contreras
Message 1 of 8 in “completion: refactor and zsh wrapper”
  1. 0/3 completion: refactor and zsh wrapperFelipe Contreras, Oct 22, 2012
  2. 1/3 completion: get rid of empty COMPREPLY assignmentsFelipe Contreras, Oct 22, 2012
  3. 2/3 completion: add new __gitcompadd helperFelipe Contreras, Oct 22, 2012
  4. SZEDER GáborOct 30, 2012
  5. Felipe ContrerasOct 30, 2012
  6. SZEDER GáborOct 31, 2012
  7. 3/3 completion: add new zsh completionFelipe Contreras, Oct 22, 2012
  8. Felipe ContrerasOct 30, 2012

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.