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

Re: What's cooking in git.git (Oct 2010, #02; Tue, 26)

From
Peter van der Does <peter@ourvirtualhome.com>
Date
Oct 27, 2010, 14:33 UTC
Message-ID
<20101027103352.32ffccaf@MonteCarlo>
In-Reply-To
<7v62woduyp.fsf@alter.siamese.dyndns.org>

On Tue, 26 Oct 2010 23:13:18 -0700 Junio C Hamano <gitster@pobox.com> wrote:

Show 6 quoted lines
> * ml/completion-zsh (2010-09-06) 1 commit
>   (merged to 'next' on 2010-09-22 at d62d10e)
>  + completion: make compatible with zsh
> 
> Reported as breaking people with "set -u".
> 

With the patch "Make git-completion Bash 4 compatible" in mind, it might be useful to start looking into a different way to distribute the completion script to accommodate different shells. Adding compatibility for each shell into one script can get nasty. We could have a different completion script for each shell.

As of right now the completion script is compatible with Bash 3 and zsh. I don't know if the new code provided with the proposed patch "Make git-completion Bash 4 compatible" is zsh compatible.

-- 
Peter van der Does

GPG key: E77E8E98
Twitter: @petervanderdoes
Previous: Pat Notz
Message 6 of 6 in “What's cooking in git.git (Oct 2010, #02; Tue, 26)”
  1. Junio C HamanoOct 27, 2010
  2. Johan HerlandOct 27, 2010
  3. Erik Faye-LundOct 27, 2010
  4. Erik Faye-LundOct 27, 2010
  5. Pat NotzOct 27, 2010
  6. Peter van der DoesOct 27, 2010

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.