author | Heiko Voigt <hvoigt@hvoigt.net> | |
Thu, 11 Aug 2011 17:51:46 +0000 (19:51 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 11 Aug 2011 19:27:30 +0000 (12:27 -0700) | ||
commit | 322bb6e12f713900dcac7cac59c00a167f70f2c3 | |
tree | 36597f613f2d7cdcbf1825e3415d8b3f1a024654 | tree | snapshot |
parent | 817bac35f24166e8b306ecef5283ed721068f113 | commit | diff |
add update 'none' flag to disable update of submodule by default
This is useful to mark a submodule as unneeded by default. When this
option is set and the user wants to work with such a submodule he
needs to configure 'submodule.<name>.update=checkout' or pass the
--checkout option. Then the submodule can be handled like a normal
submodule.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This is useful to mark a submodule as unneeded by default. When this
option is set and the user wants to work with such a submodule he
needs to configure 'submodule.<name>.update=checkout' or pass the
--checkout option. Then the submodule can be handled like a normal
submodule.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt | diff | blob | history | |
git-submodule.sh | diff | blob | history | |
t/t7406-submodule-update.sh | diff | blob | history |