From: "Uwe Kleine-König" <Uwe.Kleine-Koenig@digi.com>
To: <git@vger.kernel.org>
Cc: "Shawn O. Pearce" <spearce@spearce.org>
Subject: bash completion only provides revs, not paths
Date: Tue, 22 Apr 2008 13:21:29 +0200 [thread overview]
Message-ID: <20080422112129.GA30923@digi.com> (raw)
Hello,
currently autocompletion in
ukleinek@zentaur:~/gsrc/linux-2.6 git log ar<tab>
only yields "armltd/" (i.e. the prefix of some remote tracking branches)
but most of the time I want it to complete to "arch/".
I don't understand that autocompletion stuff, but probably to fix that
several __git_complete_revlist should be replaced by a
__git_complete_revlist_or_path. The harder part is to implement the
latter function. An optimal implementation would only give back paths
if there is a "--" somewhere before the cursor.
Best regards
Uwe
--
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
next reply other threads:[~2008-04-22 11:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 11:21 Uwe Kleine-König [this message]
2008-04-23 1:52 ` bash completion only provides revs, not paths Shawn O. Pearce
2008-04-23 5:56 ` Uwe Kleine-König
2008-04-24 1:21 ` [PATCH] " Shawn O. Pearce
2008-04-24 5:52 ` Uwe Kleine-König
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=20080422112129.GA30923@digi.com \
--to=uwe.kleine-koenig@digi.com \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.