Skip to content

Commit 3f23c21

Browse files
AlexaXsianhattendorf
authored andcommitted
Supplement disabled_filters in git_checkout_options
1 parent 355ea13 commit 3f23c21

1 file changed

Lines changed: 132 additions & 0 deletions

File tree

generate/input/libgit2-supplement.json

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,138 @@
8282
},
8383
"git_note_iterator": {
8484
"decl": "git_iterator"
85+
},
86+
"git_checkout_options": {
87+
"decl": [
88+
"unsigned int version",
89+
"unsigned int checkout_strategy",
90+
"int disable_filters",
91+
"unsigned int dir_mode",
92+
"unsigned int file_mode",
93+
"int file_open_flags",
94+
"unsigned int notify_flags",
95+
"git_checkout_notify_cb notify_cb",
96+
"void * notify_payload",
97+
"git_checkout_progress_cb progress_cb",
98+
"void * progress_payload",
99+
"git_strarray paths",
100+
"git_tree * baseline",
101+
"git_index * baseline_index",
102+
"const char * target_directory",
103+
"const char * ancestor_label",
104+
"const char * our_label",
105+
"const char * their_label",
106+
"git_checkout_perfdata_cb perfdata_cb",
107+
"void * perfdata_payload",
108+
"git_strarray disabled_filters"
109+
],
110+
"fields": [
111+
{
112+
"type": "unsigned int",
113+
"name": "version",
114+
"comments": " The version "
115+
},
116+
{
117+
"type": "unsigned int",
118+
"name": "checkout_strategy",
119+
"comments": " default will be a safe checkout "
120+
},
121+
{
122+
"type": "int",
123+
"name": "disable_filters",
124+
"comments": " don't apply filters like CRLF conversion "
125+
},
126+
{
127+
"type": "unsigned int",
128+
"name": "dir_mode",
129+
"comments": " default is 0755 "
130+
},
131+
{
132+
"type": "unsigned int",
133+
"name": "file_mode",
134+
"comments": " default is 0644 or 0755 as dictated by blob "
135+
},
136+
{
137+
"type": "int",
138+
"name": "file_open_flags",
139+
"comments": " default is O_CREAT | O_TRUNC | O_WRONLY "
140+
},
141+
{
142+
"type": "unsigned int",
143+
"name": "notify_flags",
144+
"comments": " see `git_checkout_notify_t` above "
145+
},
146+
{
147+
"type": "git_checkout_notify_cb",
148+
"name": "notify_cb",
149+
"comments": " Optional callback to get notifications on specific file states.\n "
150+
},
151+
{
152+
"type": "void *",
153+
"name": "notify_payload",
154+
"comments": " Payload passed to notify_cb "
155+
},
156+
{
157+
"type": "git_checkout_progress_cb",
158+
"name": "progress_cb",
159+
"comments": " Optional callback to notify the consumer of checkout progress. "
160+
},
161+
{
162+
"type": "void *",
163+
"name": "progress_payload",
164+
"comments": " Payload passed to progress_cb "
165+
},
166+
{
167+
"type": "git_strarray",
168+
"name": "paths",
169+
"comments": " A list of wildmatch patterns or paths.\n\n By default, all paths are processed. If you pass an array of wildmatch\n patterns, those will be used to filter which paths should be taken into\n account.\n\n Use GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH to treat as a simple list."
170+
},
171+
{
172+
"type": "git_tree *",
173+
"name": "baseline",
174+
"comments": " The expected content of the working directory; defaults to HEAD.\n\n If the working directory does not match this baseline information,\n that will produce a checkout conflict."
175+
},
176+
{
177+
"type": "git_index *",
178+
"name": "baseline_index",
179+
"comments": " Like `baseline` above, though expressed as an index. This\n option overrides `baseline`."
180+
},
181+
{
182+
"type": "const char *",
183+
"name": "target_directory",
184+
"comments": " alternative checkout path to workdir "
185+
},
186+
{
187+
"type": "const char *",
188+
"name": "ancestor_label",
189+
"comments": " the name of the common ancestor side of conflicts "
190+
},
191+
{
192+
"type": "const char *",
193+
"name": "our_label",
194+
"comments": " the name of the \"our\" side of conflicts "
195+
},
196+
{
197+
"type": "const char *",
198+
"name": "their_label",
199+
"comments": " the name of the \"their\" side of conflicts "
200+
},
201+
{
202+
"type": "git_checkout_perfdata_cb",
203+
"name": "perfdata_cb",
204+
"comments": " Optional callback to notify the consumer of performance data. "
205+
},
206+
{
207+
"type": "void *",
208+
"name": "perfdata_payload",
209+
"comments": " Payload passed to perfdata_cb "
210+
},
211+
{
212+
"type": "git_strarray",
213+
"name": "disabled_filters",
214+
"comments": " A list filters to disable during checkout."
215+
}
216+
]
85217
}
86218
},
87219
"new" : {

0 commit comments

Comments
 (0)