1
0
mirror of https://github.com/git/git.git synced 2025-03-23 13:16:50 +00:00
Fredrik Gustafsson d2b17b3220 push: Don't push a repository with unpushed submodules
When working with submodules it is easy to forget to push a
submodule to the server but pushing a super-project that
contains a commit for that submodule. The result is that the
superproject points at a submodule commit that is not available
on the server.

This adds the option --recurse-submodules=check to push. When
using this option git will check that all submodule commits that
are about to be pushed are present on a remote of the submodule.

To be able to use a combined diff, disabling a diff callback has
been removed from combined-diff.c.

Signed-off-by: Fredrik Gustafsson <iveqy@iveqy.com>
Mentored-by: Jens Lehmann <Jens.Lehmann@web.de>
Mentored-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-20 23:03:52 -07:00
..
2011-06-29 16:41:55 -07:00
2011-06-20 14:27:36 -07:00
2011-06-20 14:27:36 -07:00
2011-06-08 17:21:08 -07:00
2011-05-30 00:00:07 -07:00
2011-05-31 12:19:11 -07:00
2011-05-31 12:19:11 -07:00
2011-04-01 17:55:55 -07:00
2011-05-31 12:19:11 -07:00
2011-05-19 10:55:54 -07:00
2011-05-16 13:01:45 -07:00
2011-05-31 12:19:11 -07:00
2011-05-10 08:45:37 -07:00