]> git.proxmox.com Git - libgit2.git/commit
Skip submodule head/index update when caching.
authorBrock Peabody <bpeabody@twosigma.com>
Wed, 23 Nov 2016 23:32:55 +0000 (18:32 -0500)
committerDavid Turner <dturner@twosigma.com>
Fri, 20 Jan 2017 22:33:56 +0000 (17:33 -0500)
commit673dff88a2c78766609a7023167acb5a882fb84d
tree3602334a046f314170be9d49ea48ac0e69f6b531
parent4d99c4cfc604bb141fd4e1423e934ebd3fb7e2a7
Skip submodule head/index update when caching.

`git_submodule_status` is very slow, bottlenecked on
`git_repository_head_tree`, which it uses through `submodule_update_head`.  If
the user has requested submodule caching, assume that they want this status
cached too and skip it.

Signed-off-by: David Turner <dturner@twosigma.com>
src/submodule.c