You can find the third iteration of this series here: http://public-inbox.org/git/cover.1479221071.git.hvoigt@xxxxxxxxxx/ All comments from the last iteration should be addressed. 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 | 123 +++++++++++++++++++++++++++++++++++++++++++++++------------- submodule.h | 5 ++- transport.c | 29 ++++++++++---- 3 files changed, 121 insertions(+), 36 deletions(-) -- 2.10.1.386.gc503e45