Merge branch 'hv/submodule-not-yet-pushed-fix' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:02 +0000 (11:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:03 +0000 (11:38 -0800)
commitc9d729fca2ad1c329f98f88cea0e83063626ae52
tree468936b42023ce25701643292a41bda43d9db566
parent031ecc188655381f11ca0e5b0792976025d6ab1a
parent250ab24ab3a35d5857855a2e00483dcd8867fdca
Merge branch 'hv/submodule-not-yet-pushed-fix' into next

The code in "git push" to compute if any commit being pushed in the
superproject binds a commit in a submodule that hasn't been pushed
out was overly inefficient, making it unusable even for a small
project that does not have any submodule but have a reasonable
number of refs.

* hv/submodule-not-yet-pushed-fix:
  submodule_needs_pushing(): explain the behaviour when we cannot answer
  batch check whether submodule needs pushing into one call
  serialize collection of refs that contain submodule changes
  serialize collection of changed submodules
submodule.c
transport.c