1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-04 06:14:50 +01:00

31702: check for git rebase -i for autosquash

This commit is contained in:
Luka Perkov 2013-09-06 02:01:14 +02:00 committed by Peter Stephenson
parent c866657a3c
commit a4245da999
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2013-09-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Luka Perkov: 31702: Completion/Unix/Command/_git:
check for presence of "-i" when checking for "--interactive".
* 31706: Src/builtin.c, Test/C02cond.ztst: standardise
handling of "test ! <x> <y> <z>".

View file

@ -1182,7 +1182,7 @@ _git-push () {
_git-rebase () {
local -a autosquash_opts
if (( words[(I)--interactive] )); then
if (( words[(I)-i|--interactive] )); then
autosquash_opts=(
'( --no-autosquash)--autosquash[check for auto-squash boundaries]'
'(--autosquash )--no-autosquash[do not check for auto-squash boundaries]')