git-clean doc: the command only affects paths under $(cwd)
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2009 17:48:26 +0000 (10:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2009 17:51:34 +0000 (10:51 -0700)
Fredrik Skolmli and Thomas Rast noticed that it was left unstated that
"git clean" ran from a subdirectory will not affect anything outside it,
with or without path limiters.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clean.txt

index 43b2de7db3b5f21ab9b3eb03e0c167892ae37f3f..be894af39ff6559affbf0617e4c5d8fe68c33fe8 100644 (file)
@@ -13,8 +13,8 @@ SYNOPSIS
 DESCRIPTION
 -----------
 
-This allows cleaning the working tree by removing files that are not
-under version control.
+Cleans the working tree by recursively removing files that are not
+under version control, starting from the current directory.
 
 Normally, only files unknown to git are removed, but if the '-x'
 option is specified, ignored files are also removed. This can, for