]> git.ipfire.org Git - thirdparty/git.git/blob - contrib/coccinelle/index-compatibility.pending.cocci
parse-options: use prefix_filename_except_for_dash() helper
[thirdparty/git.git] / contrib / coccinelle / index-compatibility.pending.cocci
1 // "the_repository" simple cases
2 @@
3 @@
4 (
5 - read_cache
6 + repo_read_index
7 )
8 (
9 + the_repository,
10 ...)
11
12 // "the_index" simple cases
13 @@
14 @@
15 (
16 - discard_cache
17 + discard_index
18 |
19 - cache_name_pos
20 + index_name_pos
21 )
22 (
23 + &the_index,
24 ...)