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

Re: Bash completion Issue?

From
Alan Chandler <alan@chandlerfamily.org.uk>
Date
Nov 5, 2006, 00:33 UTC
Message-ID
<200611050033.07716.alan@chandlerfamily.org.uk>
In-Reply-To
<20061104184120.GB2311@spearce.org>
On Saturday 04 November 2006 18:41, Shawn Pearce wrote:
> Alan Chandler <alan@chandlerfamily.org.uk> wrote:
...
Show 15 quoted lines
> > In debian, there seems to be a directory /etc/bash_completion.d with
> > files for each of the packages, and the debian git packages have entries
> > in there.  So I assume they are derived from the completion work
> > mentioned on this list.
>
> What completion script is it?  The one that is now shipped as part
> of Git has a header of the following, and resides in git.git as
> contrib/completion/git-completion.bash:
>
> 	#
> 	# bash completion support for core Git.
> 	#
> 	# Copyright (C) 2006 Shawn Pearce
> 	# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
> 	#
Well I have something like this (with git 1.4.3.3)

# 'git' bash completion and library routines used by porcelain completions. # # Copyright (c) Paolo Giarrusso, 2005 # Copyright (c) Ben Clifford, 2005 # # The master version is available at: # http://www.hawaga.org.uk/gitcompletion.git

Show 5 quoted lines
>
> > What seems strange to me is that nobody else has mentioned this before
> > now.
>
> Maybe because you have a different completion script?
Seems like it might be:-(
-- 
Alan Chandler
Previous: Shawn PearceNext: Shawn Pearce
Message 3 of 8 in “Bash completion Issue?”
  1. Alan ChandlerNov 4, 2006
  2. Shawn PearceNov 4, 2006
  3. Alan ChandlerNov 5, 2006
  4. Shawn PearceNov 5, 2006
  5. Alan ChandlerNov 5, 2006
  6. Alan ChandlerNov 5, 2006
  7. Shawn PearceNov 5, 2006
  8. Jakub NarebskiNov 5, 2006

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.