From: Jonathan Nieder <jrnieder@gmail.com>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: git@vger.kernel.org, "SZEDER Gábor" <szeder@ira.uka.de>,
"Junio C Hamano" <gitster@pobox.com>,
"Thomas Rast" <trast@student.ethz.ch>
Subject: Re: [PATCH] completion: fix issues with COMP_WORDBREAKS
Date: Sun, 15 Apr 2012 19:38:50 -0500 [thread overview]
Message-ID: <20120416003850.GH5813@burratino> (raw)
In-Reply-To: <1334524654-13482-1-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras wrote:
> In fact if COMP_WORDBREAKS doesn't contain a colon the completion gets
> all messed up. For example:
>
> git push origin master:<TAB>
> git diff master:<TAB>
>
> The "master:" prefix would be added again, unnecessarily.
Thanks. Yeah, that sounds broken.
Unfortunately the patch introduces a regression: if after loading the
completion script I set COMP_WORDBREAKS not to contain a colon, then
with the current completion script
git show HEAD:Docu<TAB>
completes fine, but with the patched completion script it seems to
get confused and strips off the HEAD.
Ideas?
Jonathan
next prev parent reply other threads:[~2012-04-16 0:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-15 21:17 [PATCH] completion: fix issues with COMP_WORDBREAKS Felipe Contreras
2012-04-16 0:38 ` Jonathan Nieder [this message]
2012-04-16 10:44 ` Felipe Contreras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120416003850.GH5813@burratino \
--to=jrnieder@gmail.com \
--cc=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=szeder@ira.uka.de \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).