summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-11-14 01:12:56 +0100
committerJunio C Hamano <gitster@pobox.com>2018-11-14 09:22:40 +0100
commit4d5430f7479d45c3fca088984a08ec093f870b5b (patch)
tree97d722f476f87ffcd70fa3d91aa3a47c48231225 /contrib
parentcommit-reach: prepare get_merge_bases to handle any repo (diff)
downloadgit-4d5430f7479d45c3fca088984a08ec093f870b5b.tar.xz
git-4d5430f7479d45c3fca088984a08ec093f870b5b.zip
commit-reach: prepare in_merge_bases[_many] 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')
-rw-r--r--contrib/coccinelle/the_repository.pending.cocci17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index f6c2915a4e..8c6a71bf64 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -90,3 +90,20 @@ expression G;
- get_merge_bases_many_dirty(
+ repo_get_merge_bases_many_dirty(the_repository,
E, F, G);
+
+@@
+expression E;
+expression F;
+@@
+- in_merge_bases(
++ repo_in_merge_bases(the_repository,
+ E, F);
+
+@@
+expression E;
+expression F;
+expression G;
+@@
+- in_merge_bases_many(
++ repo_in_merge_bases_many(the_repository,
+ E, F, G);