summaryrefslogtreecommitdiff
path: root/contrib/coccinelle/refs.pending.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/coccinelle/refs.pending.cocci')
-rw-r--r--contrib/coccinelle/refs.pending.cocci5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/coccinelle/refs.pending.cocci b/contrib/coccinelle/refs.pending.cocci
new file mode 100644
index 0000000000..b33cb8a12a
--- /dev/null
+++ b/contrib/coccinelle/refs.pending.cocci
@@ -0,0 +1,5 @@
+@@
+expression refs, refname, resolve_flags, oid, flags, failure_errno;
+@@
+- refs_werrres_ref_unsafe(refs, refname, resolve_flags, oid, flags, failure_errno)
++ refs_resolve_ref_unsafe(refs, refname, resolve_flags, oid, flags, failure_errno)