git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 0/3] Speedup finding of unpushed submodules

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
Oct 7, 2016, 15:06 UTC
Message-ID
<cover.1475851621.git.hvoigt@hvoigt.net>
You can find the first iteration of this series as part of this thread:
http://public-inbox.org/git/%3C20160914173124.GA7613@sandbox%3E/

All mentioned issues should be fixed. I dropped the last patch which was the cause of the broken tests.

This should optimize every part of this test to a nice speed if you are pushing to a remote. The only case that is still broken/slow as hell is when calling push with a direct url.

I am thinking whether we should maybe error out with a "not implemented" message or something and mention that --recurse-submoules does not work with direct urls? But we might want to have another look at performance with this patch included. Maybe it is actually useable with the last patch included which was not yet on pu.

Cheers Heiko
Heiko Voigt (3):
  serialize collection of changed submodules
  serialize collection of refs that contain submodule changes
  batch check whether submodule needs pushing into one call
 submodule.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++--------------
 submodule.h |   5 +--
 transport.c |  29 ++++++++++-----
 3 files changed, 114 insertions(+), 36 deletions(-)
-- 
2.10.1.637.g09b28c5
Next: Heiko Voigt
Message 1 of 19 in “Speedup finding of unpushed submodules”
  1. 0/3 Speedup finding of unpushed submodulesHeiko Voigt, Oct 7, 2016
  2. 1/3 serialize collection of changed submodulesHeiko Voigt, Oct 7, 2016
  3. Stefan BellerOct 7, 2016
  4. Junio C HamanoOct 10, 2016
  5. Heiko VoigtOct 12, 2016
  6. Junio C HamanoOct 12, 2016
  7. Heiko VoigtOct 13, 2016
  8. Heiko VoigtOct 12, 2016
  9. 2/3 serialize collection of refs that contain submodule changesHeiko Voigt, Oct 7, 2016
  10. Stefan BellerOct 7, 2016
  11. Heiko VoigtOct 12, 2016
  12. Stefan BellerOct 20, 2016
  13. Junio C HamanoOct 10, 2016
  14. 3/3 batch check whether submodule needs pushing into one callHeiko Voigt, Oct 7, 2016
  15. Stefan BellerOct 7, 2016
  16. Junio C HamanoOct 10, 2016
  17. Heiko VoigtOct 12, 2016
  18. Junio C HamanoOct 12, 2016
  19. Heiko VoigtOct 13, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.