libgit2/tests/submodule
Brock Peabody 4d99c4cfc6 Allow for caching of submodules.
Added `git_repository_submodule_cache_all` to initialze a cache of
submodules on the repository so that operations looking up N
submodules are O(N) and not O(N^2).  Added a
`git_repository_submodule_cache_clear` function to remove the cache.

Also optimized the function that loads all submodules as it was itself
O(N^2) w.r.t the number of submodules, having to loop through the
`.gitmodules` file once per submodule.  I changed it to process the
`.gitmodules` file once, into a map.

Signed-off-by: David Turner <dturner@twosigma.com>
2017-01-20 17:33:56 -05:00
..
add.c blob: fail to create a blob from a dir with EDIRECTORY 2015-07-12 12:11:22 +02:00
init.c submodule: make _set_url() affect the configuration 2015-06-22 17:02:55 +02:00
lookup.c Allow for caching of submodules. 2017-01-20 17:33:56 -05:00
modify.c submodule: test unsetting config options 2015-06-22 17:02:56 +02:00
nosubs.c submodule: completely remove reload_all 2015-07-01 17:49:07 +02:00
repository_init.c config: borrow refcounted references 2015-03-03 18:35:12 +01:00
status.c git_futils_mkdir_*: make a relative-to-base mkdir 2015-09-17 10:00:35 -04:00
submodule_helpers.c status: test submodules with mixed case 2016-03-31 17:58:43 -04:00
submodule_helpers.h status: test submodules with mixed case 2016-03-31 17:58:43 -04:00
update.c submodule: test updating a submodule w/ a path 2015-11-04 16:53:41 -05:00