aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-03-28 15:58:55 +0200
committerJunio C Hamano <gitster@pobox.com>2023-03-28 07:36:46 -0700
commitb26a71b1beadf0184259384c12c9567ac89c0d13 (patch)
tree2648463f4e6106498711012722ac315ca9be1170 /contrib
parent12cb1c10a64170a5d600dd1c6c8abfeec105fb6b (diff)
downloadgit-b26a71b1beadf0184259384c12c9567ac89c0d13.tar.gz
cocci: apply the "rerere.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "rerere.h". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/coccinelle/the_repository.cocci4
-rw-r--r--contrib/coccinelle/the_repository.pending.cocci4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/coccinelle/the_repository.cocci b/contrib/coccinelle/the_repository.cocci
index b20a3e7084..1d1ac7d4fc 100644
--- a/contrib/coccinelle/the_repository.cocci
+++ b/contrib/coccinelle/the_repository.cocci
@@ -109,6 +109,10 @@
|
- dwim_ref
+ repo_dwim_ref
+// rerere.h
+|
+- rerere
++ repo_rerere
)
(
+ the_repository,
diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index 8bf30798a0..1190a3312b 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -5,11 +5,7 @@
@@
@@
(
-// rerere.h
-- rerere
-+ repo_rerere
// revision.h
-|
- init_revisions
+ repo_init_revisions
)