summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-03-28 15:58:49 +0200
committerJunio C Hamano <gitster@pobox.com>2023-03-28 16:36:45 +0200
commit085390328f5fe1dfba67039b1fd6cc51546a4e41 (patch)
treed6db2e038ed3a08daa9def671f8c790d7589b495 /contrib
parentcocci: apply the "commit.h" part of "the_repository.pending" (diff)
downloadgit-085390328f5fe1dfba67039b1fd6cc51546a4e41.tar.xz
git-085390328f5fe1dfba67039b1fd6cc51546a4e41.zip
cocci: apply the "diff.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "diff.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 0cdf3f4630..3c0bd8781e 100644
--- a/contrib/coccinelle/the_repository.cocci
+++ b/contrib/coccinelle/the_repository.cocci
@@ -73,6 +73,10 @@
|
- get_commit_tree
+ repo_get_commit_tree
+// diff.h
+|
+- diff_setup
++ repo_diff_setup
)
(
+ the_repository,
diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index bf19e6a248..00461ee86b 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -5,11 +5,7 @@
@@
@@
(
-// diff.h
-- diff_setup
-+ repo_diff_setup
// object-store.h
-|
- read_object_file
+ repo_read_object_file
|