summary refs log tree commit diff
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
parent4353bec49f5997f7581d8a33d52fd87deba57b6c (diff)
downloadzsh-d554f31bcbe1264f69e22e990d356ab7ee6e87a8.tar.gz
zsh-d554f31bcbe1264f69e22e990d356ab7ee6e87a8.tar.xz
zsh-d554f31bcbe1264f69e22e990d356ab7ee6e87a8.zip
37149: _git: Complete 'bisect/bad' ref
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5355abaa6..5ab68f7a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-20  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 37149: Completion/Unix/Command/_git: _git: Complete
+	'bisect/bad' ref
+
 2015-11-19  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 37159: NEWS, README: update for next version.
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" "$@"