mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-05 23:11:11 +02:00
unposted (c.f. Mikael: 39078): fix for git blame terms
This commit is contained in:
parent
c8b228b1ea
commit
18aa25c75d
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-08-22 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* unposted (c.f. Mikael: 39078): Completion/Unix/Command/_git:
|
||||
fix for git blame terms
|
||||
|
||||
2016-08-22 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted: Completion/Unix/Command/_git: _git-config:
|
||||
|
|
|
@ -194,8 +194,8 @@ _git-bisect () {
|
|||
declare -A opt_args
|
||||
local good bad
|
||||
|
||||
if good=$(_call_program commands git terms --term-good); then
|
||||
bad=$(_call_program commands git terms --term-bad)
|
||||
if good=$(_call_program commands git bisect terms --term-good); then
|
||||
bad=$(_call_program commands git bisect terms --term-bad)
|
||||
else
|
||||
good=( good old ) bad=( new bad )
|
||||
fi
|
||||
|
@ -249,7 +249,7 @@ _git-bisect () {
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
(${(j.|.)~bad}|${(j.|.)~good}|skip)
|
||||
(${(~j.|.)bad}|${(~j.|.)good}|skip)
|
||||
# TODO: skip can take revlists.
|
||||
_arguments \
|
||||
'*: :__git_commits' && ret=0
|
||||
|
|
Loading…
Reference in a new issue