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

Re: [PATCH] Handle path completion and colon for tcsh script

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 2, 2013, 20:10 UTC
Message-ID
<7vboc2bhpj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<E59706EF8DB1D147B15BECA3322E4BDC09AA38@eusaamb103.ericsson.se>
Marc Khouzam <marc.khouzam@ericsson.com> writes:
Show 13 quoted lines
> Recent enhancements to git-completion.bash provide
> intelligent path completion for git commands.  Such
> completions do not add the '/' at the end of directories
> for recent versions of bash.
> ...
> Here is the update for tcsh completion which is needed to handle
> the cool new path completion feature just pushed to 'next'.
>
> Also, Manlio reported that tcsh completion was broken when using
> the colon, and this patch fixes the issue.
>
> I haven't quite figured out the process to indicate which branch
> a patch is meant for.  Do I just mention it in the email?

Yes, instead of wondering "Do I mention it here?", saying "This should come on top of Manlio's completion update." is good.

But I have to wonder if this is sweeping a problem under the rug. Shouldn't the completion for bash users end completed directory name with '/', even if we didn't have to worry about tcsh?

Previous: Marc KhouzamNext: Manlio Perillo
Message 2 of 6 in “Handle path completion and colon for tcsh script”
  1. Handle path completion and colon for tcsh scriptMarc Khouzam, Feb 2, 2013
  2. Junio C HamanoFeb 2, 2013
  3. Manlio PerilloFeb 3, 2013
  4. Junio C HamanoFeb 3, 2013
  5. Marc KhouzamFeb 4, 2013
  6. Junio C HamanoFeb 4, 2013

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.