Skip to content

Commit 31e3c2d

Browse files
mattmccutchengitster
authored andcommitted
Documentation/git-clean.txt: don't mention deletion of .git/modules/*
The latter half of this sentence, the removal of the submodules, was never done with (or without) double -f back when it was written, and we still do not do so. Signed-off-by: Matt McCutchen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a08595f commit 31e3c2d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Documentation/git-clean.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ OPTIONS
3737
to false, 'git clean' will refuse to delete files or directories
3838
unless given -f, -n or -i. Git will refuse to delete directories
3939
with .git sub directory or file unless a second -f
40-
is given. This affects also git submodules where the storage area
41-
of the removed submodule under .git/modules/ is not removed until
42-
-f is given twice.
40+
is given.
4341

4442
-i::
4543
--interactive::

0 commit comments

Comments
 (0)