From 9211d7f2777abaedfacf98812104d579c3b861f3 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 1 Feb 2017 19:05:44 +0000 Subject: 40479: vcs_info set-patch-format: Prepare for more code sharing between the callers. This changes hook invocation order in the hg backend. --- Functions/VCS_Info/VCS_INFO_quilt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Functions/VCS_Info/VCS_INFO_quilt') diff --git a/Functions/VCS_Info/VCS_INFO_quilt b/Functions/VCS_Info/VCS_INFO_quilt index d6b7c2f72..1874c8b2f 100644 --- a/Functions/VCS_Info/VCS_INFO_quilt +++ b/Functions/VCS_Info/VCS_INFO_quilt @@ -173,7 +173,8 @@ function VCS_INFO_quilt() { VCS_INFO_set-patch-format 'applied' 'applied_string' \ 'unapplied' 'unapplied_string' \ - ${context} qstring + ${context} qstring \ + '' if VCS_INFO_hook 'set-patch-format' ${qstring}; then zformat -f qstring "${qstring}" "p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \ "n:${#applied}" "c:${#unapplied}" "a:${hook_com[all-n]}" -- cgit 1.4.1