Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vcs_info: '%' in payloads not escaped
- X-seq: zsh-workers 40402
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: vcs_info: '%' in payloads not escaped
- Date: Mon, 23 Jan 2017 19:54:37 +0100
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <20170123110432.GA7109@fujitsu.shahaf.local2> (Daniel Shahaf's message of "Mon, 23 Jan 2017 11:04:32 +0000")
- 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> <871swhqxph.fsf@ft.bewatermyfriend.org> <20170106022128.GA6197@fujitsu.shahaf.local2> <87wpe8pj0o.fsf@ft.bewatermyfriend.org> <20170106164012.GB4948@fujitsu.shahaf.local2> <170106092711.ZM7535@torch.brasslantern.com> <20170123110432.GA7109@fujitsu.shahaf.local2>
Hey,
Daniel Shahaf wrote:
[...]
> 1) If *neither* hook was called, have vcs_info itself perform %-escaping
> appropriately. (That is: perform escaping on line 7 iff line 4 was
> taken.)
>
> 2) Document that if *either* hook is registered, then handling
> %-escaping is up to the user.
Sounds like a reasonable idea to me.
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author