mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-26 18:01:03 +02:00
25493: allow -q to be used in all git checkout contexts.
This commit is contained in:
parent
d5a328eafc
commit
ed34e682ad
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2008-08-21 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 25493: Completion/Unix/Command/_git: allow -q to be used in all
|
||||
git checkout contexts.
|
||||
|
||||
* 25491: Completion/Unix/Command/_git: patch to improve
|
||||
"git checkout" completion, from Mikael Magnusson.
|
||||
|
||||
|
|
|
@ -1549,8 +1549,8 @@ _git-checkout () {
|
|||
'*::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]' \
|
||||
|
|
Loading…
Reference in a new issue