commit: prepare logmsg_reencode to handle arbitrary repositories
[git/git.git] / contrib / coccinelle / the_repository.pending.cocci
CommitLineData
afd69dcc
SB
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@@
6expression E;
7expression F;
8expression G;
9@@
10- read_object_file(
11+ repo_read_object_file(the_repository,
12 E, F, G)
9b45f499
SB
13
14@@
15expression E;
16@@
17- has_sha1_file(
18+ repo_has_sha1_file(the_repository,
19 E)
20
21@@
22expression E;
23expression F;
24@@
25- has_sha1_file_with_flags(
26+ repo_has_sha1_file_with_flags(the_repository,
27 E)
28
29@@
30expression E;
31@@
32- has_object_file(
33+ repo_has_object_file(the_repository,
34 E)
35
36@@
37expression E;
38expression F;
39@@
40- has_object_file_with_flags(
41+ repo_has_object_file_with_flags(the_repository,
42 E)
9e5252ab
SB
43
44@@
45expression E;
46expression F;
47expression G;
48@@
49- parse_commit_internal(
50+ repo_parse_commit_internal(the_repository,
51 E, F, G)
52
53@@
54expression E;
55expression F;
56@@
57- parse_commit_gently(
58+ repo_parse_commit_gently(the_repository,
59 E, F)
60
61@@
62expression E;
63@@
64- parse_commit(
65+ repo_parse_commit(the_repository,
66 E)
21a9651b
SB
67
68@@
69expression E;
70expression F;
71@@
72- get_merge_bases(
73+ repo_get_merge_bases(the_repository,
74 E, F);
75
76@@
77expression E;
78expression F;
79expression G;
80@@
81- get_merge_bases_many(
82+ repo_get_merge_bases_many(the_repository,
83 E, F, G);
84
85@@
86expression E;
87expression F;
88expression G;
89@@
90- get_merge_bases_many_dirty(
91+ repo_get_merge_bases_many_dirty(the_repository,
92 E, F, G);
4d5430f7
SB
93
94@@
95expression E;
96expression F;
97@@
98- in_merge_bases(
99+ repo_in_merge_bases(the_repository,
100 E, F);
101
102@@
103expression E;
104expression F;
105expression G;
106@@
107- in_merge_bases_many(
108+ repo_in_merge_bases_many(the_repository,
109 E, F, G);
07de3fd8
SB
110
111@@
112expression E;
113expression F;
114@@
115- get_commit_buffer(
116+ repo_get_commit_buffer(the_repository,
117 E, F);
70315373
SB
118
119@@
120expression E;
121expression F;
122@@
123- unuse_commit_buffer(
124+ repo_unuse_commit_buffer(the_repository,
125 E, F);
424510ed
SB
126
127@@
128expression E;
129expression F;
130expression G;
131@@
132- logmsg_reencode(
133+ repo_logmsg_reencode(the_repository,
134 E, F, G);