Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dl/reset-doc-no-wrt-abbrev'
[gitweb.git]
/
contrib
/
coccinelle
/
commit.cocci
diff --git
a/contrib/coccinelle/commit.cocci
b/contrib/coccinelle/commit.cocci
index aec3345adb4f0fb83b511335e0727f1097f97e29..c49aa558f0fe6b74b9d4d4a7779f0a9f32747388 100644
(file)
--- 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;