zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] git log's "branch" argument is optional
@ 2010-06-06 11:40 Holger Weiss
  2010-07-24 10:36 ` Simon Ruderich
  0 siblings, 1 reply; 3+ messages in thread
From: Holger Weiss @ 2010-06-06 11:40 UTC (permalink / raw)
  To: Zsh Workers

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-24 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-06 11:40 [PATCH] git log's "branch" argument is optional Holger Weiss
2010-07-24 10:36 ` Simon Ruderich
2010-07-24 19:06   ` Wayne Davison

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).