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

Re: [PATCH] Clarify and fix English in git-rm documentation.

From
Junio C Hamano <junio@pobox.com>
Date
Apr 16, 2008, 07:06 UTC
Message-ID
<7vve2is2gv.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<E1Jl91r-0000yT-8T@jdl.com>
Jon Loeliger <jdl@jdl.com> writes:
Show 10 quoted lines
> diff --git a/Documentation/git-rm.txt b/Documentation/git-rm.txt
> index dc36c66..2066def 100644
> --- a/Documentation/git-rm.txt
> +++ b/Documentation/git-rm.txt
> @@ -11,28 +11,34 @@ SYNOPSIS
>  
>  DESCRIPTION
>  -----------
> +Remove files from the index, or from the working tree and the index.
> +`git rm` will not remove a file from just your working directory.

The last sentence made me stop reading and read the paragraph twice and half. Perhaps it would make it easier to read if we make it

	(there is no option to remove a file only from work tree and keep
	it in the index; use regular "/bin/rm" if you want to do that).
a parenthesized note as the tail part of the previous sentence?
> +The files being removed have to be identical to the tip of the branch,
> +and no updates to their contents can be staged in the index.
Perhaps add "This can be overridden with the `-f` option" here?
Previous: Jon LoeligerNext: Jon Loeliger
Message 2 of 3 in “Clarify and fix English in git-rm documentation.”
  1. Clarify and fix English in git-rm documentation.Jon Loeliger, Apr 13, 2008
  2. Junio C HamanoApr 16, 2008
  3. Jon LoeligerApr 16, 2008

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.