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

Re: [PATCH] Update bash completion to ignore some more plumbing commands

From
Jonas Fonseca <fonseca@diku.dk>
Date
May 22, 2007, 21:06 UTC
Message-ID
<20070522210624.GA7518@diku.dk>
In-Reply-To
<20070521061228.GJ3141@spearce.org>
Shawn O. Pearce <spearce@spearce.org> wrote Mon, May 21, 2007:
Show 9 quoted lines
> Jonas Fonseca <fonseca@diku.dk> wrote:
> > Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
> > ---
> >  contrib/completion/git-completion.bash |    4 ++++
> >  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> OK, sorry this missed 1.5.2.  I've applied it into my fastimport
> master branch, I guess it will be in the next 1.5.2 based release.
> ;-)

Good! :) I didn't know, it was maintained in the fastimport branch. You might consider mentioning it in the header of the file.

Show 7 quoted lines
> >  I am not sure if it is OK to exclude checkout-index as it is
> >  the only method of exporting the source as a directory. Also,
> 
> It might make sense to exclude checkout-index as plumbing, but I
> use it myself so often (and tab complete it too) that I want to
> keep it in.  So I deleted that one line out of your patch when I
> applied it.
Very well.
Show 6 quoted lines
> >  I don't understand why git-diff-* is not excluded.
> 
> Because I personally also use git diff-tree a lot.  The others
> (diff-files, diff-index) I *never* use directly so I'm thinking
> maybe they should get flagged as plumbing and get removed from
> the completion.
OK.
-- 
Jonas Fonseca
Previous: Shawn O. Pearce
Message 3 of 3 in “Update bash completion to ignore some more plumbing commands”
  1. Update bash completion to ignore some more plumbing commandsJonas Fonseca, May 19, 2007
  2. Shawn O. PearceMay 21, 2007
  3. Jonas FonsecaMay 22, 2007

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.