author | Andreas Köhler <andi5.py@gmx.net> | |
Fri, 8 Oct 2010 01:07:48 +0000 (03:07 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 14 Oct 2010 01:31:45 +0000 (18:31 -0700) | ||
commit | 33f072f8910081b12780197a2a5423227e437af8 | |
tree | abfa4e5e3842c55dde210c298c613ae92dcf90cf | tree | snapshot |
parent | 7c6eafa35af805578990e76b691ff7f1a25a3c57 | commit | diff |
submodule sync: Update "submodule.<name>.url" for empty directories
If a submodule directory has not been filled by "git submodule update"
yet, then "git submodule sync" must still update the super-project's
configuration for submodule.<name>.url.
This situation occurs when switching between branches with a module from
different urls and other branches without the submodule.
Signed-off-by: Andreas Köhler <andi5.py@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If a submodule directory has not been filled by "git submodule update"
yet, then "git submodule sync" must still update the super-project's
configuration for submodule.<name>.url.
This situation occurs when switching between branches with a module from
different urls and other branches without the submodule.
Signed-off-by: Andreas Köhler <andi5.py@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | diff | blob | history | |
t/t7403-submodule-sync.sh | diff | blob | history |