mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
40478: vcs_info set-patch-format: Guard against empty variable elision.
This commit is contained in:
parent
49bc46946e
commit
3a1756b728
2 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2017-02-03 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 40478: Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
|
||||
set-patch-format: Guard against empty variable elision.
|
||||
|
||||
* 40476: Doc/Zsh/contrib.yo, Functions/VCS_Info/VCS_INFO_quilt:
|
||||
vcs_info $backend_misc: Document at the right point, provide
|
||||
in quilt 'standalone' mode.
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@
|
|||
|
||||
hook_com=(
|
||||
applied-n ${(P)#1}
|
||||
applied ${(P)2}
|
||||
applied "${(P)2}"
|
||||
unapplied-n ${(P)#3}
|
||||
unapplied ${(P)4}
|
||||
unapplied "${(P)4}"
|
||||
)
|
||||
hook_com[all-n]=$(( ${hook_com[applied-n]} + ${hook_com[unapplied-n]} ))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue