We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c60a6 commit 9b57d6fCopy full SHA for 9b57d6f
contrib/coccinelle/commit.cocci
@@ -25,7 +25,8 @@ expression s;
25
// functions, then the recommended transformation will be bogus with
26
// repo_get_commit_tree() on the LHS.
27
@@
28
-identifier f !~ "^(repo_get_commit_tree|get_commit_tree_in_graph_one|load_tree_for_commit|set_commit_tree)$";
+identifier f != { repo_get_commit_tree, get_commit_tree_in_graph_one,
29
+ load_tree_for_commit, set_commit_tree };
30
expression c;
31
32
f(...) {<...
0 commit comments