Subject: [PATCH] _git-rebase: Complete any committish for the second argument
From: Daniel Shahaf <[email-masked]>
To: [email-masked]
Date: Sat, 23 Apr 2016 20:43:17 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

---
 Completion/Unix/Command/_git | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 7ce5b2b..3b48b4e 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1350,7 +1350,7 @@ _git-rebase () {
     '--no-ff[cherry-pick all rebased commits with --interactive, otherwise synonymous to --force-rebase]' \
     '--onto=[start new branch with HEAD equal to given revision]:newbase:__git_revisions' \
     ':upstream branch:__git_revisions' \
-    '::working branch:__git_branch_names'
+    '::working branch:__git_revisions'
 }
 
 (( $+functions[_git-reset] )) ||