Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-03-28 16:58:49 +0300
committerJunio C Hamano <gitster@pobox.com>2023-03-28 17:36:45 +0300
commit085390328f5fe1dfba67039b1fd6cc51546a4e41 (patch)
treed6db2e038ed3a08daa9def671f8c790d7589b495 /contrib
parentecb5091fd4301ac647db0bd2504112b38f7ee06d (diff)
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
|