Edward Thomson
51eff5a58b
strarray: we should dispose instead of free
...
We _dispose_ the contents of objects; we _free_ objects (and their
contents). Update `git_strarray_free` to be `git_strarray_dispose`.
`git_strarray_free` remains as a deprecated proxy function.
2020-06-01 22:50:28 +01:00
Etienne Samson
666c7bd845
tests: unwarranted NULL-ification
2018-11-02 14:58:12 +01:00
Etienne Samson
3652b83a86
tests: remote/create: remove macro and unroll tests
2018-11-02 14:58:12 +01:00
Etienne Samson
d365029406
remote: add a flag to prevent generation of the default fetchspec
2018-11-02 14:58:12 +01:00
Etienne Samson
fdb116b364
remote: add a creation flag for ignoring url.insteadOf
2018-11-02 14:58:12 +01:00
Etienne Samson
3cbaebdf7d
remote: provide a generic API for creating remotes
...
This supersedes the functionality of remote_create_with_fetchspec, remote_create_anonymous and remote_create_detached.
2018-11-02 14:58:12 +01:00
Etienne Samson
0e5a27cd54
tests: count config section helper already exists
2018-11-02 14:58:02 +01:00
Etienne Samson
f8fc987ca2
tests: git_remote_create_detached
2018-11-02 14:58:02 +01:00
Etienne Samson
4e0da4501c
tests: check what happens with the remote. section counts
2018-11-02 14:58:02 +01:00
Etienne Samson
f778af68f8
tests: git_remote_create_anonymous
2018-11-02 14:58:02 +01:00
Etienne Samson
fa69195e99
tests: git_remote_create_with_fetchspec
2018-11-02 14:58:02 +01:00
Etienne Samson
10fa2dd61c
tests: consolidate all remote creation tests in one test suite
2018-11-02 14:58:02 +01:00
Etienne Samson
798be87ee5
tests: rename remote creation test suite
2018-11-02 14:58:01 +01:00