@matheusbsbs / matheus-bagliano / commits / 1f74574ba2
Fork 0

git submodule add: Remove old docs about implicit -f

git submodule add no longer implicitly adds with --force. Remove references to the old functionality in the documentation. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Acked-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Jul 17, 2010 at 15:53 UTC 1f74574ba2d34fc9735e8113ed95def6accb6411
1 file changed -4
Documentation/git-submodule.txt
-4
@@ -95,10 +95,6 @@ is the superproject and submodule repositories will be kept
95 together in the same relative location, and only the
96 superproject's URL needs to be provided: git-submodule will correctly
97 locate the submodule using the relative URL in .gitmodules.
98 -+
99 -The submodule will be added with "git add --force <path>". I.e. git
100 -doesn't care if the new path is in a `gitignore`. Your invocation of
101 -"git submodule add" is considered enough to override it.
98
99 status::
100 Show the status of the submodules. This will print the SHA-1 of the