diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-02-01 19:05:42 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-02-03 18:13:58 +0000 |
| commit | 3a1756b7280e42d14de58ad90990cf4b04731b3b (patch) | |
| tree | 3f80969800a856d65135cc0a58f3bcbb9ec08439 /Functions | |
| parent | 40476: vcs_info $backend_misc: Document at the right point, provide in quilt ... (diff) | |
| download | zsh-3a1756b7280e42d14de58ad90990cf4b04731b3b.tar zsh-3a1756b7280e42d14de58ad90990cf4b04731b3b.tar.gz zsh-3a1756b7280e42d14de58ad90990cf4b04731b3b.tar.bz2 zsh-3a1756b7280e42d14de58ad90990cf4b04731b3b.tar.lz zsh-3a1756b7280e42d14de58ad90990cf4b04731b3b.tar.xz zsh-3a1756b7280e42d14de58ad90990cf4b04731b3b.tar.zst zsh-3a1756b7280e42d14de58ad90990cf4b04731b3b.zip | |
40478: vcs_info set-patch-format: Guard against empty variable elision.
Diffstat (limited to 'Functions')
| -rw-r--r-- | Functions/VCS_Info/VCS_INFO_set-patch-format | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_set-patch-format b/Functions/VCS_Info/VCS_INFO_set-patch-format index 84febabd9..c0617044c 100644 --- a/Functions/VCS_Info/VCS_INFO_set-patch-format +++ b/Functions/VCS_Info/VCS_INFO_set-patch-format @@ -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]} )) } |
