You can find the second iteration of this series here: http://public-inbox.org/git/cover.1475851621.git.hvoigt@xxxxxxxxxx/ All mentioned issues should be fixed. I put the NEEDSWORK comment in a seperate patch since it seemed to me as if we did not fully agree on that. So in case we decide against it we can just drop that patch. Cheers Heiko Heiko Voigt (4): serialize collection of changed submodules serialize collection of refs that contain submodule changes batch check whether submodule needs pushing into one call submodule_needs_pushing() NEEDSWORK when we can not answer this question submodule.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++------------- submodule.h | 5 ++- transport.c | 29 +++++++++++---- 3 files changed, 118 insertions(+), 36 deletions(-) -- 2.10.1.386.gc503e45