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

Re: bash completion broken on ubuntu 10.10?

From
Brian Gernhardt <brian@gernhardtsoftware.com>
Date
Oct 20, 2010, 23:33 UTC
Message-ID
<0BBE4478-48AB-460E-A2D5-2121FC589886@gernhardtsoftware.com>
In-Reply-To
<20101020230409.GB1767@neumann>
On Oct 20, 2010, at 7:04 PM, SZEDER Gábor wrote:
Show 9 quoted lines
> Hi,
> 
> Git's bash completion script offers possible arguments to some
> options, e.g. it lists pretty formats after 'git log --pretty=<TAB>',
> merge tools after 'git mergetool --tool=<TAB>', refs after 'git commit
> --reuse-message=<TAB>', etc.
> 
> On a three day old ubuntu 10.10 install these don't work anymore; the
> completion script offers the list of files in all those cases.
> I don't have any ideas what could possibly be wrong here (but it's too
> late here for any bright ideas anyway...).  Could someone confirm or
> deny this behaviour on ubuntu 10.10?
Confirmed.  Completion works properly on OS X, but fails on Ubuntu 10.10
OS X 10.6.4:
  bash: 3.2.48
  git:  1.7.3.1.209.g52408 (next + my t/gitweb-lib patch)
  output:
$ git log --pretty=<tab><tab>
email     full      medium    raw       
format:   fuller    oneline   short  
Ubuntu 10.10:
  bash: 4.1.5
  git:  1.7.1 (from apt)
  output:
$ git log --pretty=<tab><tab>
.bash/               .irbrc
.bash_history        .less
.bash_logout         .local/
.bash_profile        Music/
--More--
~~ Brian
Previous: SZEDER GáborNext: Peter van der Does
Message 2 of 5 in “bash completion broken on ubuntu 10.10?”
  1. SZEDER GáborOct 20, 2010
  2. Brian GernhardtOct 20, 2010
  3. Peter van der DoesOct 21, 2010
  4. Kevin BallardOct 21, 2010
  5. Mathias LafeldtOct 21, 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.