git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation: Clarify which paths git-clean will affect

From
Junio C Hamano <gitster@pobox.com>
Date
May 6, 2009, 17:57 UTC
Message-ID
<7vljpauna5.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20090506163145.GF4452@frsk.net>
Fredrik Skolmli <fredrik@frsk.net> writes:
Show 7 quoted lines
> On Wed, May 06, 2009 at 03:24:47PM +0200, Thomas Rast wrote:
>
>> Indeed, yours is better.
>
> And I agree, it does looks better. Junio, would you like me to produce a
> patch v2, or would you like do the honor? (After all, you came up with the
> final suggestion)
Ok, I'll queue this one.
-- >8 -- 
Date: Wed, 6 May 2009 10:48:26 -0700
Subject: [PATCH] git-clean doc: the command only affects paths under $(cwd)

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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt
index 43b2de7..be894af 100644
--- a/Documentation/git-clean.txt
+++ b/Documentation/git-clean.txt
@@ -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
Previous: Fredrik Skolmli
Message 9 of 9 in “Documentation: Clarify which paths git-clean will affect”
  1. Documentation: Clarify which paths git-clean will affectFredrik Skolmli, May 5, 2009
  2. Thomas RastMay 5, 2009
  3. Fredrik SkolmliMay 5, 2009
  4. Re: Documentation: Clarify which paths git-clean will affectNicolas Sebrecht, May 5, 2009
  5. Thomas RastMay 5, 2009
  6. Junio C HamanoMay 5, 2009
  7. Thomas RastMay 6, 2009
  8. Fredrik SkolmliMay 6, 2009
  9. Junio C HamanoMay 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.