summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-11-14 00:12:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-14 08:22:40 (GMT)
commit4d5430f7479d45c3fca088984a08ec093f870b5b (patch)
tree97d722f476f87ffcd70fa3d91aa3a47c48231225 /contrib
parent21a9651ba3fb350f48a53bf885a225bf6b71cac3 (diff)
downloadgit-4d5430f7479d45c3fca088984a08ec093f870b5b.zip
git-4d5430f7479d45c3fca088984a08ec093f870b5b.tar.gz
git-4d5430f7479d45c3fca088984a08ec093f870b5b.tar.bz2
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 f6c2915..8c6a71b 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);