submodule update: add regression test with old style setups
[gitweb.git] / contrib / coccinelle / commit.cocci
index aec3345adb4f0fb83b511335e0727f1097f97e29..c49aa558f0fe6b74b9d4d4a7779f0a9f32747388 100644 (file)
@@ -15,10 +15,10 @@ expression c;
 identifier f !~ "^(get_commit_tree|get_commit_tree_in_graph_one|load_tree_for_commit)$";
 expression c;
 @@
-  f(...) {...
+  f(...) {<...
 - c->maybe_tree
 + get_commit_tree(c)
-  ...}
+  ...>}
 
 @@
 expression c;