summaryrefslogtreecommitdiff
path: root/contrib/coccinelle/the_repository.pending.cocci
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2018-11-13 16:12:57 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-14 17:22:40 +0900
commit07de3fd84049c90d8d873599c43c3979f37166aa (patch)
treeda5873027b3ba52fe7dd9beb878240c60c45bfbc /contrib/coccinelle/the_repository.pending.cocci
parentcommit-reach: prepare in_merge_bases[_many] to handle any repo (diff)
downloadtgif-07de3fd84049c90d8d873599c43c3979f37166aa.tar.xz
commit: prepare get_commit_buffer to handle any repo
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/coccinelle/the_repository.pending.cocci')
-rw-r--r--contrib/coccinelle/the_repository.pending.cocci8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index 8c6a71bf64..4018e6eaf7 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -107,3 +107,11 @@ expression G;
- in_merge_bases_many(
+ repo_in_merge_bases_many(the_repository,
E, F, G);
+
+@@
+expression E;
+expression F;
+@@
+- get_commit_buffer(
++ repo_get_commit_buffer(the_repository,
+ E, F);