summaryrefslogtreecommitdiff
path: root/contrib/coccinelle
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-05-11 00:41:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-05-11 00:41:10 (GMT)
commit88cbd17e87e1f1732ab922836a4a21f45a70dd58 (patch)
treedb1c1e741b00c24b11c9612c89b41dd82861f581 /contrib/coccinelle
parente8005e4871f130c4e402ddca2032c111252f070a (diff)
parent0b75e5bf22d6c2ad0589990613478277a7a48c6f (diff)
downloadgit-88cbd17e87e1f1732ab922836a4a21f45a70dd58.zip
git-88cbd17e87e1f1732ab922836a4a21f45a70dd58.tar.gz
git-88cbd17e87e1f1732ab922836a4a21f45a70dd58.tar.bz2
Merge branch 'ab/misc-cleanup'
Code clean-up. * ab/misc-cleanup: alloc.[ch]: remove alloc_report() function object-store.h: remove unused has_sha1_file*() pack-bitmap-write: remove unused bitmap_reset() function xdiff/xmacros.h: remove unused XDL_PTRFREE configure.ac: remove USE_PIC comment run-command.h: remove always unused "clean_on_exit_handler_cbdata"
Diffstat (limited to 'contrib/coccinelle')
-rw-r--r--contrib/coccinelle/the_repository.pending.cocci15
1 files changed, 0 insertions, 15 deletions
diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci
index 2ee702e..072ea0d 100644
--- a/contrib/coccinelle/the_repository.pending.cocci
+++ b/contrib/coccinelle/the_repository.pending.cocci
@@ -14,21 +14,6 @@ expression G;
@@
expression E;
@@
-- has_sha1_file(
-+ repo_has_sha1_file(the_repository,
- E)
-
-@@
-expression E;
-expression F;
-@@
-- has_sha1_file_with_flags(
-+ repo_has_sha1_file_with_flags(the_repository,
- E)
-
-@@
-expression E;
-@@
- has_object_file(
+ repo_has_object_file(the_repository,
E)