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

Re: Bash completion Issue?

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 5, 2006, 11:45 UTC
Message-ID
<eikirg$772$1@sea.gmane.org>
In-Reply-To
<20061105113115.GC4843@spearce.org>
Shawn Pearce wrote:
Show 10 quoted lines
> Alan Chandler <alan@chandlerfamily.org.uk> wrote:
>>  removing the git-completion package and copying the bash completion script 
>> from /usr/share/doc/git-core/contrib/completion to /etc/bash_completion.d 
>> solves the problem.  I am getting completion working fine now.
> 
> Good.  :-)
> 
> Let us know if there's anything you'd like to see in the bash
> completion...  I just sent out two rounds of patches for it, but
> certainly still have more work to do on it.

I'd like to see completion for git-format-patch, git-cherry-pick and git-rebase. I tried to start doing completion for git-format-patch, but realized that I don't know bash, and bash completion enough for that.

While at it, do git-completion.bash takes into consideration that some commands doesn't accept branch which is current branch.

Otherwise, I find git-completion for bash very useful.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Shawn Pearce
Message 8 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.