* PATCH: _git tags in refspecs
@ 2007-11-22 19:07 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2007-11-22 19:07 UTC (permalink / raw)
To: zsh-workers; +Cc: seanius
This comes from Sean Finney, who wants tags completed where refspecs are
valid.
Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.51
diff -u -r1.51 _git
--- Completion/Unix/Command/_git 22 Nov 2007 16:46:35 -0000 1.51
+++ Completion/Unix/Command/_git 22 Nov 2007 19:05:45 -0000
@@ -2801,7 +2801,9 @@
if compset -S ':*'; then
__git_heads
else
- __git_heads -qS ':'
+ _alternative \
+ 'tags:tag:__git_tags' \
+ 'heads:head:__git_heads -qS :'
fi
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-22 19:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-22 19:07 PATCH: _git tags in refspecs Clint Adams
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).