Skip to content

Commit 1f74574

Browse files
avargitster
authored andcommitted
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 <[email protected]> Acked-by: Jens Lehmann <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d27b876 commit 1f74574

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Documentation/git-submodule.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ is the superproject and submodule repositories will be kept
9595
together in the same relative location, and only the
9696
superproject's URL needs to be provided: git-submodule will correctly
9797
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.
10298

10399
status::
104100
Show the status of the submodules. This will print the SHA-1 of the

0 commit comments

Comments
 (0)