Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/4] vcs_info set-patch-format: Guard against empty variable elision.
- X-seq: zsh-workers 40478
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 1/4] vcs_info set-patch-format: Guard against empty variable elision.
- Date: Wed, 1 Feb 2017 19:05:42 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=saU ODKiHx4biCmLwfEvNOII0TXE=; b=0BdNEqSMvpEMMCRAG+pdaS6gZpcnI3AOpLy MxTwf/7GKTCyBGTD0KV0m4fXolZdptjKkKL1jWxgO08ZdjyMjlQGxDtsclHLu5ym pqDkFSMO5J3eWZaSKJUScHChPhtacgYPZxmHL8n/7jyX0WwlEPtJJmOjtcaTkCtK p/WxItQM=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=sa UODKiHx4biCmLwfEvNOII0TXE=; b=uQTGTm7h4KM1eKmZsDz+Jx1+B4n9/43jxz BVOOL2Z4n4nG3+Xzc3hDIIkLHCxgMiyUMVkt9Jr1Pnka2LaZOP8JacXkQo+Q2Z83 sdGPTeDhlgvDgTmbaivkoUyMkBZDKNnqB3OfURhRFWTIXMD2QvDbu4bMqvDONh/n vHegIUqPI=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
Functions/VCS_Info/VCS_INFO_set-patch-format | 4 ++--
1 file 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 84febab..c061704 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]} ))
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author