We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 215ae4f + cddd68a commit 805265fCopy full SHA for 805265f
contrib/coccinelle/index-compatibility.cocci
@@ -1,22 +1,26 @@
1
// the_index.* variables
2
@@
3
+identifier AC = active_cache;
4
+identifier ACC = active_cache_changed;
5
+identifier ACT = active_cache_tree;
6
7
(
-- active_cache
8
+- AC
9
+ the_index.cache
10
|
-- active_cache_changed
11
+- ACC
12
+ the_index.cache_changed
13
-- active_cache_tree
14
+- ACT
15
+ the_index.cache_tree
16
)
17
18
19
+identifier AN = active_nr;
20
identifier f != prepare_to_commit;
21
22
f(...) {<...
-- active_nr
23
+- AN
24
+ the_index.cache_nr
25
...>}
26
0 commit comments