Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca2466f

Browse files
committed
CHANGELOG: add submodule changes
1 parent b977d01 commit ca2466f

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ v0.22 + 1
3232
commit with unstaged changes.
3333

3434
* 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.
3636

3737
* Checkout can now accept an index for the baseline computations via the
3838
`baseline_index` member.
@@ -42,6 +42,10 @@ support for HTTPS connections insead of OpenSSL.
4242
remote functions now take these options or the callbacks instead of
4343
setting them beforehand.
4444

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+
4549
* The index now uses diffs for `add_all()` and `update_all()` which
4650
gives it a speed boost and closer semantics to git.
4751

@@ -152,6 +156,9 @@ support for HTTPS connections insead of OpenSSL.
152156
* `git_commit_header_field()` has been added, which allows retrieving
153157
the contents of an arbitrary header field.
154158

159+
* `git_submodule_set_branch()` allows to set the configured branch for
160+
a submodule.
161+
155162
### API removals
156163

157164
* `git_remote_save()` and `git_remote_clear_refspecs()` have been
@@ -167,6 +174,9 @@ support for HTTPS connections insead of OpenSSL.
167174
`git_remote_set_push_refspecs()` have been removed. There is no
168175
longer a way to set the base refspecs at run-time.
169176

177+
* `git_submodule_save()` has been removed. The submodules are no
178+
longer configured via the objects.
179+
170180
### Breaking API changes
171181

172182
* `git_smart_subtransport_cb` now has a `param` parameter.
@@ -230,7 +240,7 @@ support for HTTPS connections insead of OpenSSL.
230240
* The remote callbacks has gained a new member `push_negotiation`
231241
which gets called before sending the update commands to the server.
232242

233-
* The following functions now longer act on a remote instance but
243+
* The following functions no longer act on a remote instance but
234244
change the repository's configuration. Their signatures have changed
235245
accordingly:
236246

@@ -259,6 +269,17 @@ support for HTTPS connections insead of OpenSSL.
259269
the `fetch_opts` field instead of callbacks in the
260270
`remote_callbacks` field.
261271

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+
262283
* The `push` function in the `git_transport` interface now takes a
263284
pointer to the remote callbacks.
264285

0 commit comments

Comments
 (0)