mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-19 03:31:14 +02:00
unposted: VCS_Info p4 backend should restrict changes to #have
This commit is contained in:
parent
bf59efddfa
commit
dd3a749ce9
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ local p4branch change
|
||||||
# We'll use the latest change number to which the hierarchy from
|
# We'll use the latest change number to which the hierarchy from
|
||||||
# here down is synced as the revision.
|
# here down is synced as the revision.
|
||||||
# I suppose the following might be slow on a tortuous client view.
|
# 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 ||
|
zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" branchformat p4branch ||
|
||||||
p4branch="%b:%r"
|
p4branch="%b:%r"
|
||||||
zformat -f p4branch "${p4branch}" "b:${p4info[Client_name]}" \
|
zformat -f p4branch "${p4branch}" "b:${p4info[Client_name]}" \
|
||||||
|
|
Loading…
Reference in a new issue