summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-20 03:39:26 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-20 03:39:34 +0000
commitd554f31bcbe1264f69e22e990d356ab7ee6e87a8 (patch)
treedc6dc5ba286063b306b8d05d8e55b45cf99b75a8 /Completion
parent4353bec49f5997f7581d8a33d52fd87deba57b6c (diff)
downloadzsh-d554f31bcbe1264f69e22e990d356ab7ee6e87a8.tar.gz
zsh-d554f31bcbe1264f69e22e990d356ab7ee6e87a8.tar.xz
zsh-d554f31bcbe1264f69e22e990d356ab7ee6e87a8.zip
37149: _git: Complete 'bisect/bad' ref
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index c97fed399..6e8e9c665 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5639,6 +5639,7 @@ __git_heads_local () {
       [[ -f $gitdir/$f ]] && heads+=$f
     done
     [[ -f $gitdir/refs/stash ]] && heads+=stash
+    [[ -f $gitdir/refs/bisect/bad ]] && heads+=bisect/bad
   fi
 
   __git_describe_commit heads heads-local "local head" "$@"