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:
parent
c866657a3c
commit
a4245da999
2 changed files with 4 additions and 1 deletions
|
@ -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>".
|
||||
|
||||
|
|
|
@ -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]')
|
||||
|
|
Loading…
Reference in a new issue