author | Jens Lehmann <Jens.Lehmann@web.de> | |
Sat, 17 Jul 2010 15:11:43 +0000 (17:11 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 19 Jul 2010 18:10:43 +0000 (11:10 -0700) | ||
commit | d27b876b284b8fb82db971bc7cea8c9782614ab2 | |
tree | 7b6b25de2e21825d8b728813c5bed0dee83c3542 | tree | snapshot |
parent | 8fbe9b32ce6f5e12ba3f8b9d4e3ccb0b8acf529f | commit | diff |
git submodule add: Require the new --force option to add ignored paths
To make the behavior of "git submodule add" more consistent with "git add"
ignored submodule paths should not be silently added when they match an
entry in a .gitignore file. To be able to override that default behavior
in the same way as we can do that for "git add", the new option "--force"
is introduced.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
To make the behavior of "git submodule add" more consistent with "git add"
ignored submodule paths should not be silently added when they match an
entry in a .gitignore file. To be able to override that default behavior
in the same way as we can do that for "git add", the new option "--force"
is introduced.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt | diff | blob | history | |
git-submodule.sh | diff | blob | history | |
t/t7400-submodule-basic.sh | diff | blob | history |