516f19ffeee3028c733895c859c5b252c8c8eff9
[git/git.git] / contrib / coccinelle / the_repository.pending.cocci
1 // This file is used for the ongoing refactoring of
2 // bringing the index or repository struct in all of
3 // our code base.
4
5 @@
6 expression E;
7 expression F;
8 expression G;
9 @@
10 - read_object_file(
11 + repo_read_object_file(the_repository,
12 E, F, G)
13
14 @@
15 expression E;
16 @@
17 - has_sha1_file(
18 + repo_has_sha1_file(the_repository,
19 E)
20
21 @@
22 expression E;
23 expression F;
24 @@
25 - has_sha1_file_with_flags(
26 + repo_has_sha1_file_with_flags(the_repository,
27 E)
28
29 @@
30 expression E;
31 @@
32 - has_object_file(
33 + repo_has_object_file(the_repository,
34 E)
35
36 @@
37 expression E;
38 expression F;
39 @@
40 - has_object_file_with_flags(
41 + repo_has_object_file_with_flags(the_repository,
42 E)
43
44 @@
45 expression E;
46 expression F;
47 expression G;
48 @@
49 - parse_commit_internal(
50 + repo_parse_commit_internal(the_repository,
51 E, F, G)
52
53 @@
54 expression E;
55 expression F;
56 @@
57 - parse_commit_gently(
58 + repo_parse_commit_gently(the_repository,
59 E, F)
60
61 @@
62 expression E;
63 @@
64 - parse_commit(
65 + repo_parse_commit(the_repository,
66 E)
67
68 @@
69 expression E;
70 expression F;
71 @@
72 - get_merge_bases(
73 + repo_get_merge_bases(the_repository,
74 E, F);
75
76 @@
77 expression E;
78 expression F;
79 expression G;
80 @@
81 - get_merge_bases_many(
82 + repo_get_merge_bases_many(the_repository,
83 E, F, G);
84
85 @@
86 expression E;
87 expression F;
88 expression G;
89 @@
90 - get_merge_bases_many_dirty(
91 + repo_get_merge_bases_many_dirty(the_repository,
92 E, F, G);
93
94 @@
95 expression E;
96 expression F;
97 @@
98 - in_merge_bases(
99 + repo_in_merge_bases(the_repository,
100 E, F);
101
102 @@
103 expression E;
104 expression F;
105 expression G;
106 @@
107 - in_merge_bases_many(
108 + repo_in_merge_bases_many(the_repository,
109 E, F, G);
110
111 @@
112 expression E;
113 expression F;
114 @@
115 - get_commit_buffer(
116 + repo_get_commit_buffer(the_repository,
117 E, F);
118
119 @@
120 expression E;
121 expression F;
122 @@
123 - unuse_commit_buffer(
124 + repo_unuse_commit_buffer(the_repository,
125 E, F);