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

Re: [PATCH] restore: fix typo in docs

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 5, 2019, 19:38 UTC
Message-ID
<xmqqmugnmmgz.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190803220457.9338-1-wchargin@gmail.com>
William Chargin <wchargin@gmail.com> writes:
> Signed-off-by: William Chargin <wchargin@gmail.com>
> ---
> Assuming this is a typo, because I can't parse the sentence.
Looks good.  Thanks.
Show 16 quoted lines
>
>  Documentation/git-restore.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-restore.txt b/Documentation/git-restore.txt
> index d90093f195..1ab2e40ea9 100644
> --- a/Documentation/git-restore.txt
> +++ b/Documentation/git-restore.txt
> @@ -39,7 +39,7 @@ OPTIONS
>  	commit, branch or tag associated with it.
>  +
>  If not specified, the default restore source for the working tree is
> -the index, and the default restore source for the index index is
> +the index, and the default restore source for the index is
>  `HEAD`. When both `--staged` and `--worktree` are specified,
>  `--source` must also be specified.
Previous: William Chargin
Message 2 of 2 in “restore: fix typo in docs”
  1. restore: fix typo in docsWilliam Chargin, Aug 3, 2019
  2. Junio C HamanoAug 5, 2019

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.