mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
36912: vcs_info quilt: Tolerate being in child of .pc's parent
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.
This commit is contained in:
parent
272119b774
commit
c62db9e7dc
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue