about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-08-08 07:29:34 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-08-09 08:07:01 +0000
commit5448e1611d2cc4cb436fedfc3e7ff0f1ebfc766b (patch)
tree62911241550cf4575faa4f72f23c8b520eebf22e /ChangeLog
parente2be2d061a2ea1c941a3316349d6aa81c48fc378 (diff)
downloadzsh-5448e1611d2cc4cb436fedfc3e7ff0f1ebfc766b.tar.gz
zsh-5448e1611d2cc4cb436fedfc3e7ff0f1ebfc766b.tar.xz
zsh-5448e1611d2cc4cb436fedfc3e7ff0f1ebfc766b.zip
47303: vcs_info hg: Fix changing the expansion of %g (hook_com[guards]) in the set-patch-format hook (regression from workers/40480).
To reproduce, go to a hg repository with active mq guards and configure
vcs_info as follows:

    zstyle '*' get-unapplied true
    zstyle ':vcs_info:*set-patch-format*' hooks f
    zstyle '*' patch-format '[%g : %G]'
    zstyle '*' nopatch-format '[%g : %G]'
    zstyle '*' formats '%m'
    +vi-f () {
    	hook_com[guards]+=XXX
    }

The regression was first released in 5.3.1-test-2, over three years ago.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 35de0e236..e8703a156 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-08-09  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 47303: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
+	Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info hg:
+	Fix changing the expansion of %g (hook_com[guards]) in the
+	set-patch-format hook (regression from workers/40480).
+
 2020-08-08  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: Update documentation