From: Holger Weiss <holger@CIS.FU-Berlin.DE>
To: Zsh Workers <zsh-workers@zsh.org>
Subject: [PATCH] git log's "branch" argument is optional
Date: Sun, 6 Jun 2010 13:40:12 +0200 [thread overview]
Message-ID: <20100606114012.GA17874704@CIS.FU-Berlin.DE> (raw)
This patch fixes the problem that "git log f<Tab>" currently doesn't
complete file names.
---
Completion/Unix/Command/_git | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index cb06d57..ccf29a4 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1871,7 +1871,7 @@ _git-log () {
case $state in
(files)
_arguments -S \
- ':branch:__git_commit_ranges2' \
+ '::branch:__git_commit_ranges2' \
'*:index file:__git_cached_files' && ret=0
;;
esac
--
Holger
next reply other threads:[~2010-06-06 12:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-06 11:40 Holger Weiss [this message]
2010-07-24 10:36 ` Simon Ruderich
2010-07-24 19:06 ` Wayne Davison
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=20100606114012.GA17874704@CIS.FU-Berlin.DE \
--to=holger@cis.fu-berlin.de \
--cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).