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

Re: [PATCH/RFC] Make git-completion Bash 4 compatible.

From
Marc Branchaud <marcnarc@xiplink.com>
Date
Oct 26, 2010, 14:14 UTC
Message-ID
<4CC6E249.7040204@xiplink.com>
In-Reply-To
<20101026095319.669c0d69@montecarlo.grandprix.int>
On 10-10-26 09:53 AM, Peter van der Does wrote:
Show 14 quoted lines
> 
> The completion script does not work as expected under Bash 4.
> Bash: 3
> output:
> $ git log --pretty=<tab><tab>
> email     full      medium    raw
> format:   fuller    oneline   short
> 
> Bash: 4
> output:
> $ git log --pretty=<tab><tab>
> .bash_logout         .local/
> .bash_profile        Music/
> --More--
This patch also fixes my remote-refs issue.
"git push origin HEAD:ba<tab><tab>" does the Right Thing (with bash 3 & 4).
Thanks!
		M.
Previous: Peter van der Does
Message 2 of 2 in “Make git-completion Bash 4 compatible.”
  1. Make git-completion Bash 4 compatible.Peter van der Does, Oct 26, 2010
  2. Marc BranchaudOct 26, 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.