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

Re: [PATCH] Documentation/git-clean.txt: don't mention deletion of .git/modules/*

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 9, 2016, 17:34 UTC
Message-ID
<xmqqpow54wkh.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160209075553.GI6104@lakka.kapsi.fi>
Mikko Rapeli <mikko.rapeli@iki.fi> writes:
> Sorry, can't reproduce the problem where submodules stayed in the tree until
> git clean was called with two -f's.
>
> You are right in removing the second part.
Thanks, then let's do this.
-- >8 --
From: Matt McCutchen <matt@mattmccutchen.net>
Date: Sat, 6 Feb 2016 15:25:41 -0500
Subject: [PATCH] Documentation/git-clean.txt: don't mention deletion of .git/modules/*

The latter half fo 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>
Acked-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/git-clean.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt
index 641681f..51a7e26 100644
--- a/Documentation/git-clean.txt
+++ b/Documentation/git-clean.txt
@@ -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::
-- 
2.7.1-358-gd2e280b
Previous: Mikko RapeliNext: Matt McCutchen
Message 7 of 9 in “Documentation/git-clean.txt: don't mention deletion of .git/modules/*”
  1. Documentation/git-clean.txt: don't mention deletion of .git/modules/*Matt McCutchen, Feb 6, 2016
  2. Documentation/git-clean.txt: don't mention deletion of .git/modules/*Matt McCutchen, Feb 6, 2016
  3. Junio C HamanoFeb 8, 2016
  4. Matt McCutchenFeb 8, 2016
  5. Mikko RapeliFeb 8, 2016
  6. Mikko RapeliFeb 9, 2016
  7. Junio C HamanoFeb 9, 2016
  8. Matt McCutchenFeb 9, 2016
  9. Junio C HamanoFeb 8, 2016

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.