aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/coccinelle
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-11-13 16:12:59 -0800
committerJunio C Hamano <gitster@pobox.com>2018-11-14 17:22:40 +0900
commit424510ed193fdc49cacc832d8795677d0cc54461 (patch)
tree8ffbfbc99f63b73e29a4e92a60807cfb627cec07 /contrib/coccinelle
parent70315373ae51b45b9ca0ac43df396bb9035fe449 (diff)
downloadgit-424510ed193fdc49cacc832d8795677d0cc54461.tar.gz
commit: prepare logmsg_reencode to handle arbitrary repositories
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/coccinelle')
-rw-r--r--contrib/coccinelle/the_repository.pending.cocci9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index 516f19ffee..f5b42cfc62 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -123,3 +123,12 @@ expression F;
- unuse_commit_buffer(
+ repo_unuse_commit_buffer(the_repository,
E, F);
+
+@@
+expression E;
+expression F;
+expression G;
+@@
+- logmsg_reencode(
++ repo_logmsg_reencode(the_repository,
+ E, F, G);