Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/2] vcs_info quilt: Tolerate being in child of .pc's parent
- X-seq: zsh-workers 36912
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 1/2] vcs_info quilt: Tolerate being in child of .pc's parent
- Date: Thu, 22 Oct 2015 12:30:24 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=7G7 2wqo02pB8Gvhn7+pt0cfIKCY=; b=hsrcs8A61hBakZ/jCSn2/G9E0ynGcm733Y+ ql3PM7gZnqj0SUlByJd0dB5IbnIWrdzz63/+w+GIyOEiK2RcEpuF5vZXVvxxccSg 1B3YFKy24RbyzJTz+7R7ZsGrdaxHNyM+gcXJGILHP3nIuLIZATl3doGNhb1LH7Jy c54FvtlA=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=7G 72wqo02pB8Gvhn7+pt0cfIKCY=; b=SpU82EuQG8eOETuUZpVcgLnaKl722lMqES LASQQBVQVUx4V0EwbZjE4MrdlvZFtipeJDuIJuLRJrvtXu77ToQaCEvURW5JVluy pLcerBkxmbbeNwTiNLWtTnZrUCuwqd0U9c8txwJF+Q8b4md8Fqx8u2HhLLlKUMQm Mz7C6tT9Q=
- 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
Without this, gen-applied-string would only be set when .pc is a child of cwd,
not when it is a child of an ancestor of cwd.
---
Functions/VCS_Info/VCS_INFO_quilt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Functions/VCS_Info/VCS_INFO_quilt b/Functions/VCS_Info/VCS_INFO_quilt
index bc71cfb..1466e07 100644
--- a/Functions/VCS_Info/VCS_INFO_quilt
+++ b/Functions/VCS_Info/VCS_INFO_quilt
@@ -119,6 +119,7 @@ function VCS_INFO_quilt() {
applied=()
fi
patches=$(<$pc/.quilt_patches)
+ patches=`builtin cd -q "${pc:h}" && print -r - ${patches:A}`
fi
if zstyle -t "${context}" get-unapplied; then
# This zstyle call needs to be moved further up if `quilt' needs
--
2.1.4
Messages sorted by:
Reverse Date,
Date,
Thread,
Author