summaryrefslogtreecommitdiff
path: root/contrib/coccinelle/commit.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/coccinelle/commit.cocci')
-rw-r--r--contrib/coccinelle/commit.cocci4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/coccinelle/commit.cocci b/contrib/coccinelle/commit.cocci
index aec3345adb..c49aa558f0 100644
--- a/contrib/coccinelle/commit.cocci
+++ b/contrib/coccinelle/commit.cocci
@@ -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;