Skip to content

Commit

Permalink
git submodule add: Remove old docs about implicit -f
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ævar Arnfjörð Bjarmason authored and Junio C Hamano committed Jul 19, 2010
1 parent d27b876 commit 1f74574
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Documentation/git-submodule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ is the superproject and submodule repositories will be kept
together in the same relative location, and only the
superproject's URL needs to be provided: git-submodule will correctly
locate the submodule using the relative URL in .gitmodules.
+
The submodule will be added with "git add --force <path>". I.e. git
doesn't care if the new path is in a `gitignore`. Your invocation of
"git submodule add" is considered enough to override it.

status::
Show the status of the submodules. This will print the SHA-1 of the
Expand Down

0 comments on commit 1f74574

Please sign in to comment.