Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: replace VCS_INFO_readpath with a modifier
- X-seq: zsh-workers 34541
- From: Kouhei Yanagita <yanagi@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: replace VCS_INFO_readpath with a modifier
- Date: Sat, 14 Feb 2015 17:33:22 +0900
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=o6u11QeiUkLiWfmq+8DtaYtibYpk5dQ8xjMnryQX5po=; b=nCsGH4hnWGo8NEnWawpJZLSAJZ2nyy2EB9LDRzk+9eOsj9mmFgkV8VFT6pmhYOEWoW pMzJ5p9WlrQ02adKWPja7HR+9N66DohSWpsBC9KlKxj6uSLDcCEtHHoXCAiRGCwbdf0j 7lLX7iLmJ4H8vPRTl8LM/ZWI89EccIXNANCiQID+rxdCfGpiELKXYGvxxtTV1JrpHcQQ VjgDj6+13Ac0qtZQpVFvXSjA2trWWmJHbL+Y0DhNa9PdAUG5HQ64BeWK7kdSh9Rwgdr/ xen0V2QbfO4Zhiqm5EvI5aMesvJMWKd3GGWdfAXPSmqbMilgOXpVLwMCmr7bffAh+Oss l+aA==
- 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
- Sender: moonburg@xxxxxxxxx
Hi.
I think VCS_INFO_realpath can be replaced with a modifier `:A'.
This substitution improves performance especially on Cygwin.
I attach a patch.
--
Kouhei Yanagita <yanagi at shakenbu.org>
Attachment:
vcs_info.patch
Description: Binary data
Messages sorted by:
Reverse Date,
Date,
Thread,
Author