Refactor submodule push check to use string list instead of integer
authorHeiko Voigt <hvoigt@hvoigt.net>
Thu, 29 Mar 2012 07:21:23 +0000 (09:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Mar 2012 15:58:31 +0000 (08:58 -0700)
commita762e51ef2a39b0c326a1529dbe7f4cb303960db
tree0a346f0b519a0dcc4ff1beadbc40827cb2abc92d
parentbcc0a3ea38a42a64878e11c5244ef2fcc967e05d
Refactor submodule push check to use string list instead of integer

This allows us to tell the user which submodules have not been pushed.
Additionally this is helpful when we want to automatically try to push
submodules that have not been pushed.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c
submodule.h
transport.c