summaryrefslogtreecommitdiff
path: root/include/git2/submodule.h
Commit message (Collapse)AuthorAgeFilesLines
* Add missing accessor for fetchRecurseSubmodulesdevelopmentRussell Belfer2012-09-071-0/+29
| | | | | | When `git_submodule` became an opaque structure, I forgot to add accessor functions for the fetchRecurseSubmodules config setting. This fixes that.
* Working implementation of git_submodule_statusRussell Belfer2012-08-241-91/+86
| | | | | | | | | | | | | 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.
* Major submodule rewriteRussell Belfer2012-08-241-45/+420
| | | | | This replaces the old submodule API with a new extended API that supports most of the things that can be done with `git submodule`.
* Fix spelling errors.Bruce Mitchener2012-05-191-1/+1
|
* Improve config handling for diff,submodules,attrsRussell Belfer2012-03-301-3/+1
| | | | | | | | This adds support for a bunch of core.* settings that affect diff and status, plus fixes up some incorrect implementations of those settings from before. Also, this cleans up the handling of config settings in the new submodules code and in the old attrs/ignore code.
* Added submodule API and use in statusRussell Belfer2012-03-281-0/+105
When processing status for a newly checked out repo, it is possible that there will be submodules that have not yet been initialized. The only way to distinguish these from untracked directories is to have some knowledge of submodules. This commit adds a new submodule API which, given a name or path, can determine if it appears to be a submodule and can give information about the submodule.