1. 23 Jan, 2017 8 commits
  2. 21 Jan, 2017 14 commits
  3. 20 Jan, 2017 3 commits
    • Skip submodule head/index update when caching. · 673dff88
      `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>
      Brock Peabody committed
    • Allow for caching of submodules. · 4d99c4cf
      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>
      Brock Peabody committed
    • Fix formatting · ca05857e
      Signed-off-by: David Turner <dturner@twosigma.com>
      David Turner committed
  4. 16 Jan, 2017 2 commits
  5. 14 Jan, 2017 4 commits
  6. 13 Jan, 2017 4 commits
  7. 12 Jan, 2017 4 commits
  8. 11 Jan, 2017 1 commit