mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
40481: vcs_info hg: Pass arguments to the set-patch-format hook.
This commit is contained in:
parent
3a1756b728
commit
fca4f90bba
2 changed files with 4 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ if zstyle -T ":vcs_info:${vcs}:${usercontext}:${rrn}" get-mq \
|
|||
|
||||
hook_com+=( guards "${guards_string}" guards-n ${#mqguards} )
|
||||
|
||||
if VCS_INFO_hook 'set-patch-format' ${qstring}; then
|
||||
if VCS_INFO_hook 'set-patch-format' ${hgmqstring}; then
|
||||
zformat -f hgmqstring "${hgmqstring}" \
|
||||
"p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \
|
||||
"n:${#mqpatches}" "c:${#mqunapplied}" "a:${hook_com[all-n]}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue