OSDN Git Service

Merge branch 'hv/submodule-not-yet-pushed-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 16 Dec 2016 23:27:47 +0000 (15:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Dec 2016 23:27:47 +0000 (15:27 -0800)
commitaf952dac7a6997e587ded97e4051a927e5384423
tree517df111bbc7fd7d0c262a3c47f20f17e265f9b2
parenta616162909ae756c36cef17cea7466c3f500caec
parent250ab24ab3a35d5857855a2e00483dcd8867fdca
Merge branch 'hv/submodule-not-yet-pushed-fix'

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