about summary refs log tree commit diff
path: root/Functions/VCS_Info/Backends
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-29 08:33:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-29 08:33:12 +0000
commitdd3a749ce985891e9fb0b57f0e2c139aea12d3e6 (patch)
tree4729d7909986a7a274c72e2797f6a35d343303be /Functions/VCS_Info/Backends
parentbf59efddfa48dbed872daa5582136b5a723118a2 (diff)
downloadzsh-dd3a749ce985891e9fb0b57f0e2c139aea12d3e6.tar.gz
zsh-dd3a749ce985891e9fb0b57f0e2c139aea12d3e6.tar.xz
zsh-dd3a749ce985891e9fb0b57f0e2c139aea12d3e6.zip
unposted: VCS_Info p4 backend should restrict changes to #have
Diffstat (limited to 'Functions/VCS_Info/Backends')
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_get_data_p42
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4 b/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4
index 749d2ef4c..077306aa1 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4
+++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_p4
@@ -15,7 +15,7 @@ local p4branch change
 # We'll use the latest change number to which the hierarchy from
 # here down is synced as the revision.
 # I suppose the following might be slow on a tortuous client view.
-change="${${$(p4 changes -m 1 ...)##Change }%% *}"
+change="${${$(p4 changes -m 1 ...\#have)##Change }%% *}"
 zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" branchformat p4branch ||
 p4branch="%b:%r"
 zformat -f p4branch "${p4branch}" "b:${p4info[Client_name]}" \