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

Re: broken bash completion

From
RLRolf Leggewie <foss@rolf.leggewie.biz>
Date
May 5, 2012, 04:24 UTC
Message-ID
<4FA4AB86.8020108@rolf.leggewie.biz>
In-Reply-To
<20120504233213.GF2164@goldbirke>
Dear Gábor,

thank you for taking the time to write up an analysis and offer some workarounds to the bash-completion issue I reported. That is much appreciated.

After all is said and done, though, the bash-completion remains inconsistent and thus broken. It's great that your life is currently more convenient but in the end you are relying on broken behaviour.

Affected commands: git log git diff git whatchanged git branch (why offer tags OR files here at all) [...]

Unaffected programs, i.e. working correctly: git commit [...]

Some consistency would be great. In a perfect world bash-completion ought to work on all possible completion targets but at the same time it should exclude all that make no sense, too. Neither of the two seems to be currently the case.

I had a look at /etc/bash_completion.d/git to see if there was some work I could do to cook up a patch, but unfortunately, it's all greek to me in there.

Regards
Rolf
Previous: SZEDER GáborNext: SZEDER Gábor
Message 3 of 8 in “broken bash completion”
  1. Rolf LeggewieMay 2, 2012
  2. SZEDER GáborMay 4, 2012
  3. Rolf LeggewieMay 5, 2012
  4. SZEDER GáborMay 5, 2012
  5. Andreas SchwabMay 5, 2012
  6. Felipe ContrerasMay 5, 2012
  7. fREW SchmidtMay 5, 2012
  8. Felipe ContrerasMay 5, 2012

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.