diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-06-17 10:33:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-06-17 10:33:31 -0700 |
commit | 99bbf4739d927a3d8183d1fc3f1ee7871aac9fb9 (patch) | |
tree | f6041cf3bca530bd9a7ee0d5fbc53c709086b473 | |
parent | 30327a08c8644cc415dca173aa3ddccf24c79c5a (diff) | |
parent | b1299de4a1e9a193db2bfeb23508250ebbe2d67b (diff) | |
download | git-99bbf4739d927a3d8183d1fc3f1ee7871aac9fb9.tar.gz |
Merge branch 'jc/cocci-cleanup'
Remove a coccinelle rule that is no longer relevant.
* jc/cocci-cleanup:
cocci: retire is_null_sha1() rule
-rw-r--r-- | contrib/coccinelle/object_id.cocci | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/coccinelle/object_id.cocci b/contrib/coccinelle/object_id.cocci index ddf4f22bd7..01f8d6935b 100644 --- a/contrib/coccinelle/object_id.cocci +++ b/contrib/coccinelle/object_id.cocci @@ -1,18 +1,6 @@ @@ struct object_id OID; @@ -- is_null_sha1(OID.hash) -+ is_null_oid(&OID) - -@@ -struct object_id *OIDPTR; -@@ -- is_null_sha1(OIDPTR->hash) -+ is_null_oid(OIDPTR) - -@@ -struct object_id OID; -@@ - hashclr(OID.hash) + oidclr(&OID) |