Merge branch 'mr/doc-clean-f-f'
authorJunio C Hamano <gitster@pobox.com>
Fri, 6 Mar 2015 23:02:26 +0000 (15:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Mar 2015 23:02:26 +0000 (15:02 -0800)
Documentation update.

* mr/doc-clean-f-f:
Documentation/git-clean.txt: document that -f may need to be given twice

1  2 
Documentation/git-clean.txt
index 94b6d19cf2a658a9258ee54b141b4eb9b1a6cae3,719f076b99b992dbff6cd5c4fb33c64376f8d0b0..641681f61ad360fcfd5aa98f81a9e3d49c44c8a7
@@@ -34,8 -34,12 +34,12 @@@ OPTION
  -f::
  --force::
        If the Git configuration variable clean.requireForce is not set
-       to false, 'git clean' will refuse to run unless given -f, -n or
-       -i.
+       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.
  
  -i::
  --interactive::
@@@ -98,7 -102,7 +102,7 @@@ clean:
  filter by pattern::
  
     This shows the files and directories to be deleted and issues an
 -   "Input ignore patterns>>" prompt. You can input space-seperated
 +   "Input ignore patterns>>" prompt. You can input space-separated
     patterns to exclude files and directories from deletion.
     E.g. "*.c *.h" will excludes files end with ".c" and ".h" from
     deletion. When you are satisfied with the filtered result, press