summaryrefslogtreecommitdiff
path: root/tests/remote
Commit message (Collapse)AuthorAgeFilesLines
* tests: change comments to c89 stylePeter Pettersson2021-08-291-7/+7
|
* skip descendant check if remote ref not foundAlex Good2021-08-051-19/+4
|
* Fix memory sanitizer failures in testsAlex Good2021-06-301-15/+18
|
* Respect the force flag on refspecs in git_remote_fetchAlex Good2021-06-111-0/+181
|
* strarray: we should `dispose` instead of `free`Edward Thomson2020-06-012-13/+13
| | | | | | 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.
* tests: remote: add test suite to test listing remotesJordan Wallet2019-07-211-0/+43
| | | | | | | | There was a bug when calling `git_remote_list` that caused us to not re-read modified configurations when using `git_config_iterator`. This bug also impacted `git_remote_list`, which thus failed to provide an up-to-date list of remotes. Add a test suite remote::list with a single test that verifies we do the right thing.
* tests: unwarranted NULL-ificationEtienne Samson2018-11-021-1/+0
|
* tests: remote/create: remove macro and unroll testsEtienne Samson2018-11-021-29/+63
|
* remote: add a flag to prevent generation of the default fetchspecEtienne Samson2018-11-021-5/+1
|
* remote: add a creation flag for ignoring url.insteadOfEtienne Samson2018-11-021-0/+17
|
* remote: provide a generic API for creating remotesEtienne Samson2018-11-021-0/+152
| | | | This supersedes the functionality of remote_create_with_fetchspec, remote_create_anonymous and remote_create_detached.
* tests: count config section helper already existsEtienne Samson2018-11-021-29/+12
|
* tests: git_remote_create_detachedEtienne Samson2018-11-021-0/+30
|
* tests: check what happens with the remote. section countsEtienne Samson2018-11-021-0/+29
|
* tests: git_remote_create_anonymousEtienne Samson2018-11-021-0/+21
|
* tests: git_remote_create_with_fetchspecEtienne Samson2018-11-021-0/+23
|
* tests: consolidate all remote creation tests in one test suiteEtienne Samson2018-11-021-3/+70
|
* tests: rename remote creation test suiteEtienne Samson2018-11-021-0/+37
|
* remote: test insteadOf for anonymous remotesPatrick Steinhardt2015-05-311-0/+12
|
* remote: apply insteadOf configuration.Patrick Steinhardt2015-05-311-0/+60
A remote's URLs are now modified according to the url.*.insteadOf and url.*.pushInsteadOf configurations. This allows a user to replace URL prefixes by setting the corresponding keys. E.g. "url.foo.insteadOf = bar" would replace the prefix "bar" with the new prefix "foo".