summaryrefslogtreecommitdiff
path: root/contrib/coccinelle/the_repository.pending.cocci
blob: 46f3a1b23aa93986d9396fe6edbfd5ceca370236 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// This file is used for the ongoing refactoring of
// bringing the index or repository struct in all of
// our code base.
 
@@
expression E;
expression F;
expression G;
@@
- read_object_file(
+ repo_read_object_file(the_repository,
  E, F, G)
 
@@
expression E;
@@
- has_sha1_file(
+ repo_has_sha1_file(the_repository,
  E)
 
@@
expression E;
expression F;
@@
- has_sha1_file_with_flags(
+ repo_has_sha1_file_with_flags(the_repository,
  E)
 
@@
expression E;
@@
- has_object_file(
+ repo_has_object_file(the_repository,
  E)
 
@@
expression E;
expression F;
@@
- has_object_file_with_flags(
+ repo_has_object_file_with_flags(the_repository,
  E)