summaryrefslogtreecommitdiffstats
path: root/contrib/coccinelle/index-compatibility.pending.cocci
blob: 01f875d0060f20b96ea161e609ec10f6ddb0f20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// "the_repository" simple cases
@@
@@
(
- read_cache
+ repo_read_index
)
  (
+ the_repository,
  ...)

// "the_index" simple cases
@@
@@
(
- discard_cache
+ discard_index
|
- cache_name_pos
+ index_name_pos
)
  (
+ &the_index,
  ...)