summaryrefslogtreecommitdiff
path: root/tests-clar/submodule
Commit message (Collapse)AuthorAgeFilesLines
* Add missing accessor for fetchRecurseSubmodulesdevelopmentRussell Belfer2012-09-071-0/+11
| | | | | | When `git_submodule` became an opaque structure, I forgot to add accessor functions for the fetchRecurseSubmodules config setting. This fixes that.
* Test for gitmodules only submodule defRussell Belfer2012-09-051-1/+5
| | | | | | This should confirm that issue #835 is fixed where a submodule that is only declared in the .gitmodules file was not accessible via the submodule APIs.
* Working implementation of git_submodule_statusRussell Belfer2012-08-241-11/+275
| | | | | | | | | | | | | This is a big redesign of the git_submodule_status API and the implementation of the redesigned API. It also fixes a number of bugs that I found in other parts of the submodule API while writing the tests for the status part. This also fixes a couple of bugs in the iterators that had not been noticed before - one with iterating when there is a gitlink (i.e. separate-work-dir) and one where I was treating anything even vaguely submodule-like as a submodule, more aggressively than core git does.
* Fix valgrind issues and leaksRussell Belfer2012-08-241-0/+1
| | | | | | This fixes up a number of problems flagged by valgrind and also cleans up the internal `git_submodule` allocation handling overall with a simpler model.
* Major submodule rewriteRussell Belfer2012-08-245-0/+496
This replaces the old submodule API with a new extended API that supports most of the things that can be done with `git submodule`.