@@ -32,7 +32,7 @@ v0.22 + 1
32
32
commit with unstaged changes.
33
33
34
34
* On Mac OS X, we now use SecureTransport to provide the cryptographic
35
- support for HTTPS connections insead of OpenSSL.
35
+ support for HTTPS connections insead of OpenSSL.
36
36
37
37
* Checkout can now accept an index for the baseline computations via the
38
38
` baseline_index ` member.
@@ -42,6 +42,10 @@ support for HTTPS connections insead of OpenSSL.
42
42
remote functions now take these options or the callbacks instead of
43
43
setting them beforehand.
44
44
45
+ * ` git_submodule ` instances are no longer cached or shared across
46
+ lookup. Each submodule represents the configuration at the time of
47
+ loading.
48
+
45
49
* The index now uses diffs for ` add_all() ` and ` update_all() ` which
46
50
gives it a speed boost and closer semantics to git.
47
51
@@ -152,6 +156,9 @@ support for HTTPS connections insead of OpenSSL.
152
156
* ` git_commit_header_field() ` has been added, which allows retrieving
153
157
the contents of an arbitrary header field.
154
158
159
+ * ` git_submodule_set_branch() ` allows to set the configured branch for
160
+ a submodule.
161
+
155
162
### API removals
156
163
157
164
* ` git_remote_save() ` and ` git_remote_clear_refspecs() ` have been
@@ -167,6 +174,9 @@ support for HTTPS connections insead of OpenSSL.
167
174
` git_remote_set_push_refspecs() ` have been removed. There is no
168
175
longer a way to set the base refspecs at run-time.
169
176
177
+ * ` git_submodule_save() ` has been removed. The submodules are no
178
+ longer configured via the objects.
179
+
170
180
### Breaking API changes
171
181
172
182
* ` git_smart_subtransport_cb ` now has a ` param ` parameter.
@@ -230,7 +240,7 @@ support for HTTPS connections insead of OpenSSL.
230
240
* The remote callbacks has gained a new member ` push_negotiation `
231
241
which gets called before sending the update commands to the server.
232
242
233
- * The following functions now longer act on a remote instance but
243
+ * The following functions no longer act on a remote instance but
234
244
change the repository's configuration. Their signatures have changed
235
245
accordingly:
236
246
@@ -259,6 +269,17 @@ support for HTTPS connections insead of OpenSSL.
259
269
the ` fetch_opts ` field instead of callbacks in the
260
270
` remote_callbacks ` field.
261
271
272
+ * The following functions no longer act on a submodule instance but
273
+ change the repository's configuration. Their signatures have changed
274
+ accordingly:
275
+
276
+ * ` git_submodule_set_url() ` , ` git_submodule_set_ignore() ` ,
277
+ ` git_submodule_set_update() ` ,
278
+ ` git_submodule_set_fetch_recurse_submodules() ` .
279
+
280
+ * ` git_submodule_status() ` no longer takes a submodule instance but a
281
+ repsitory, a submodule name and an ignore setting.
282
+
262
283
* The ` push ` function in the ` git_transport ` interface now takes a
263
284
pointer to the remote callbacks.
264
285
0 commit comments