Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vcs_info: '%' in payloads not escaped
- X-seq: zsh-workers 40281
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: vcs_info: '%' in payloads not escaped
- Date: Fri, 6 Jan 2017 07:55:24 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=QGmkG+8bjwP//e5ZvMZ4nIKrFxct1gWbp+nftyLz2dA=; b=NusPtIQH8LUGX+1W/MEIO7XYC7MRfnT8zarTuUeYBmeFdWtZ2yqg1F4hLi/inpP+Qx nfWifNtp1yzgqO1UnxnY8DWwlt3KdNWS9kk9judnz26N5sy+4gzBkl9dE0bQ9wIFZPLb kZX/9ALT0liBDzHpNPL668j39ho21fV/LhU1Sh6kMwDUnnZ4Q/jk23yCjjsbsilbyQl3 91syjqZXUa2mWFr86OKZX6iIryD7YGs5TnYC0YayGsZJn+uZQ6HELvnqhIMKMtaHibbx 9VPmUuztSX2c4zmm+AEx/+qhtxPZYfHfl0WnDTczJYtBREZO1Le83sGXJQINBWoWG74e 5AOQ==
- In-reply-to: <20170105160730.GA21106@fujitsu.shahaf.local2>
- 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
- References: <20161227150507.GA20351@fujitsu.shahaf.local2> <20170105160730.GA21106@fujitsu.shahaf.local2>
On Jan 5, 4:07pm, Daniel Shahaf wrote:
}
} How about the following?
}
} [[[
} @@ -131,12 +131,14 @@ VCS_INFO_git_handle_patches () {
} else
} git_applied_s=""
} fi
} + git_applied_s=${git_applied_s//'%'/%%}
} else
} git_applied_s=${hook_com[applied-string]}
} fi
Shouldn't that + go above the "else"? No point in substituting on
git_applied_s when it has just been set to "" ?
With respect to the rest of the thread between you and Frank, I
understand Frank's concern but I think you have it right.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author