diff options
author | Heiko Voigt <hvoigt@hvoigt.net> | 2016-11-16 16:11:04 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-16 11:12:50 -0800 |
commit | 147394470c4be34038e520e74a017da6a3745e90 (patch) | |
tree | c37ac4c9ee5ac8e471e5c79d89f60648516e9577 /transport.c | |
parent | 8a36cd87b7c85a651ab388d403629865ffa3ba0d (diff) | |
download | git-147394470c4be34038e520e74a017da6a3745e90.tar.gz git-147394470c4be34038e520e74a017da6a3745e90.tar.xz |
serialize collection of changed submodules
To check whether a submodule needs to be pushed we need to collect all
changed submodules. Lets collect them first and then execute the
possibly expensive test whether certain revisions are already pushed
only once per submodule.
There is further potential for optimization since we can assemble one
command and only issued that instead of one call for each remote ref in
the submodule.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
0 files changed, 0 insertions, 0 deletions