Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

git checkout options



Regarding the git checkout -q HEAD blah example, if -q is valid in both
the switch-branch and update-files contexts, it should go up here.

Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.85
diff -u -r1.85 _git
--- Completion/Unix/Command/_git	21 Aug 2008 00:13:07 -0000	1.85
+++ Completion/Unix/Command/_git	21 Aug 2008 00:33:35 -0000
@@ -1549,8 +1549,8 @@
         '*::file:->files' && ret=0
   else
     _arguments -C -S \
-      - switch-branch \
         '-q[suppress feedback messages]' \
+      - switch-branch \
         '-f[force a complete re-read]' \
         '-b[create a new branch based at given branch]: :__git_guard_branch-name' \
         {-t,--track}'[set up configuration so pull merges from the start point]' \



Messages sorted by: Reverse Date, Date, Thread, Author