about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-01-29 18:05:28 +0000
committerClint Adams <clint@users.sourceforge.net>2009-01-29 18:05:28 +0000
commitc1f0bf30a3f1f55ce822cc4f1b0ef73e24d5e02f (patch)
tree03fec3bc3188bb44894598648c1549dfe93ff2bf /Completion/Unix/Command
parent218a7258b43f62cf25b1516cd4144388c0cce746 (diff)
downloadzsh-c1f0bf30a3f1f55ce822cc4f1b0ef73e24d5e02f.tar.gz
zsh-c1f0bf30a3f1f55ce822cc4f1b0ef73e24d5e02f.tar.xz
zsh-c1f0bf30a3f1f55ce822cc4f1b0ef73e24d5e02f.zip
Ingmar Vanhassel: 26471: update "git rebase" completion.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 176492c62..f8f0c3a63 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1880,8 +1880,10 @@ _git-rebase () {
       '(-m --merge)'{-m,--merge}'[use merging strategies to rebase]' \
       '*'{-s,--strategy=-}'[use given merge strategy]:merge strategy:__git_merge_strategies' \
       $verbose_arg \
+      '--no-verify[bypass the pre-rebase hook]' \
       '-C-[ensure that given lines of surrounding context match]: :_guard "[[\:digit\:]]##" "lines of context"' \
       '(-i --interactive)'{-i,--interactive}'[make a list of commits to be rebased and open in $EDITOR]' \
+      '(-p --preserve-merges)'{-p,--preserve-merges}'[try to recreate merges instead of ignoring them]' \
       ':upstream branch:__git_revisions' \
       '::working branch:__git_revisions' && ret=0
   fi