Merge branch 'nd/status-refresh-progress'
[gitweb.git] / contrib / coccinelle / object_id.cocci
index 4e1f1a74315419316bb374d33377dfb91467a731..d8bdb4871273da92d937d30a787d8b149fbe1552 100644 (file)
@@ -129,3 +129,12 @@ expression E1, E2;
 @@
 - oidcmp(E1, E2) != 0
 + !oideq(E1, E2)
+
+@@
+identifier f != hasheq;
+expression E1, E2;
+@@
+  f(...) {<...
+- hashcmp(E1, E2) != 0
++ !hasheq(E1, E2)
+  ...>}