summaryrefslogtreecommitdiff
path: root/tests/submodule/modify.c
Commit message (Collapse)AuthorAgeFilesLines
* Test (and fix) the git_submodule_sync changesRussell Belfer2014-04-031-8/+26
| | | | | I wrote this stuff a while ago and forgot to write tests. Wanted to do so now to wrap up the PR and immediately found problems.
* git_submodule_resolve_url supports relative urlsJan Melcher2014-04-031-73/+0
| | | | | | | | | | | The base for the relative urls is determined as follows, with descending priority: - remote url of HEAD's remote tracking branch - remote "origin" - workdir This follows git.git behaviour
* Test git_submodule_add_setup with relative urlJan Melcher2014-04-031-0/+24
|
* Make submodules externally refcountedRussell Belfer2014-03-251-7/+15
| | | | | | | | `git_submodule` objects were already refcounted internally in case the submodule name was different from the path at which it was stored. This makes that refcounting externally used as well, so `git_submodule_lookup` and `git_submodule_add_setup` return an object that requires a `git_submodule_free` when done.
* Make submodule fetchRecurse match other optionsRussell Belfer2014-01-301-14/+20
| | | | | | This removes the fetchRecurse compiler warnings and makes the behavior match the other submodule options (i.e. the in-memory setting can be reset to the on-disk value).
* Update test related to fetchRecurseSubmodulesLinquize2013-12-311-8/+17
|
* Rename tests-clar to testsBen Straub2013-11-141-0/+253