Skip to content

Commit b18ef13

Browse files
derrickstoleegitster
authored andcommitted
coccinelle: update commit.cocci
A recent patch series renamed the get_commit_tree_from_graph method but forgot to update the coccinelle script that exempted it from rules regarding accesses to 'maybe_tree'. This fixes that oversight to bring the coccinelle scripts back to a good state. Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d4f65b8 commit b18ef13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/coccinelle/commit.cocci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ expression c;
1212

1313
// These excluded functions must access c->maybe_tree direcly.
1414
@@
15-
identifier f !~ "^(get_commit_tree|get_commit_tree_in_graph|load_tree_for_commit)$";
15+
identifier f !~ "^(get_commit_tree|get_commit_tree_in_graph_one|load_tree_for_commit)$";
1616
expression c;
1717
@@
1818
f(...) {...

0 commit comments

Comments
 (0)