Git fork

Merge branch 'jc/cocci-avoid-regexp-constraint'

Avoid regexp_constraint and instead use comparison_constraint when
listing functions to exclude from application of coccinelle rules,
as spatch can be built with different regexp engine X-<.

* jc/cocci-avoid-regexp-constraint:
cocci: matching (multiple) identifiers

+2 -1
+2 -1
contrib/coccinelle/commit.cocci
··· 25 25 // functions, then the recommended transformation will be bogus with 26 26 // repo_get_commit_tree() on the LHS. 27 27 @@ 28 - identifier f !~ "^(repo_get_commit_tree|get_commit_tree_in_graph_one|load_tree_for_commit|set_commit_tree)$"; 28 + identifier f != { repo_get_commit_tree, get_commit_tree_in_graph_one, 29 + load_tree_for_commit, set_commit_tree }; 29 30 expression c; 30 31 @@ 31 32 f(...) {<...