Skip to content

Commit

Permalink
Documentation/git-clean.txt: don't mention deletion of .git/modules/*
Browse files Browse the repository at this point in the history
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 <matt@mattmccutchen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Matt McCutchen authored and Junio C Hamano committed Feb 9, 2016
1 parent a08595f commit 31e3c2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Documentation/git-clean.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ OPTIONS
to false, 'git clean' will refuse to delete files or directories
unless given -f, -n or -i. Git will refuse to delete directories
with .git sub directory or file unless a second -f
is given. This affects also git submodules where the storage area
of the removed submodule under .git/modules/ is not removed until
-f is given twice.
is given.

-i::
--interactive::
Expand Down

0 comments on commit 31e3c2d

Please sign in to comment.