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

[PATCH 2/2] Documentation: git-clean: make description more readable

From
Wesley J. Landaker <wjl@icecavern.net>
Date
Apr 25, 2009, 15:13 UTC
Message-ID
<1240672421-10309-3-git-send-email-wjl@icecavern.net>
In-Reply-To
<1240672421-10309-1-git-send-email-wjl@icecavern.net>

The existing text is a little bit awkward. This rewrites the description section to be more readable and friendly.

Signed-off-by: Wesley J. Landaker <wjl@icecavern.net>
---

This is a more major change, but since at least I and one other person I know have both stumbled on this section, I think making it more readable and friendly is a good change.

 Documentation/git-clean.txt |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt
index 932d44d..43b2de7 100644
--- a/Documentation/git-clean.txt
+++ b/Documentation/git-clean.txt
@@ -12,14 +12,17 @@ SYNOPSIS
 
 DESCRIPTION
 -----------
-Removes files unknown to git.  This allows cleaning the working tree
-of files that are not under version control.  If the '-x' option is
-specified, ignored files are also removed, allowing the removal of all
-build products.
+
+This allows cleaning the working tree by removing files that are not
+under version control.
+
+Normally, only files unknown to git are removed, but if the '-x'
+option is specified, ignored files are also removed. This can, for
+example, be useful to remove all build products.
+
 If any optional `<path>...` arguments are given, only those paths
 are affected.
 
-
 OPTIONS
 -------
 -d::
-- 
1.6.2.4
Previous: Wesley J. LandakerNext: Stephen Boyd
Message 3 of 8 in “Documentation: git-clean: description updates”
  1. 0/2 Documentation: git-clean: description updatesWesley J. Landaker, Apr 25, 2009
  2. 1/2 Documentation: git-clean: fix minor grammatical errorsWesley J. Landaker, Apr 25, 2009
  3. 2/2 Documentation: git-clean: make description more readableWesley J. Landaker, Apr 25, 2009
  4. Stephen BoydApr 25, 2009
  5. Wesley J. LandakerApr 26, 2009
  6. Stephen BoydApr 26, 2009
  7. Junio C HamanoApr 26, 2009
  8. Wesley J. LandakerApr 26, 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.