summaryrefslogtreecommitdiff
path: root/tests/submodule/submodule_helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* submodule init should resolve relative url pathsJameson Miller2014-12-221-0/+14
| | | | | Submodule init should handle relative paths in .gitmodules files and resolve these urls when updating the git config file.
* Win32: Fix diff::workdir::submodules test #2361Philip Kelley2014-06-071-2/+2
|
* More tests and fix submodule index refreshRussell Belfer2014-04-011-7/+29
| | | | | | | | | | There was a little bug where the submodule cache thought that the index date was out of date even when it wasn't that was resulting in some extra scans of index data even when not needed. Mostly this commit adds a bunch of new tests including adding and removing submodules in the index and in the HEAD and seeing if we can automatically pick them up when refreshing.
* Make submodules externally refcountedRussell Belfer2014-03-251-0/+29
| | | | | | | | `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.
* Rename tests-clar to testsBen Straub2013-11-141-0/+127