summaryrefslogtreecommitdiff
path: root/contrib/coccinelle/the_repository.pending.cocci
blob: b185fe0a1d86f80ef137ff69415d9500a8989dd9 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// 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)
 
@@
expression E;
expression F;
expression G;
@@
- parse_commit_internal(
+ repo_parse_commit_internal(the_repository,
  E, F, G)
 
@@
expression E;
expression F;
@@
- parse_commit_gently(
+ repo_parse_commit_gently(the_repository,
  E, F)
 
@@
expression E;
@@
- parse_commit(
+ repo_parse_commit(the_repository,
  E)