# [PATCH] restore: fix typo in docs

2 messages from 2019-08-03 to 2019-08-05. Participants: William Chargin, Junio C Hamano.
Thread: https://gitlist.dev/t/51583

## William Chargin, 2019-08-03 22:04

Subject: [PATCH] restore: fix typo in docs
Message-ID: <20190803220457.9338-1-wchargin@gmail.com>
URL: https://gitlist.dev/e/20190803220457.9338-1-wchargin%40gmail.com

```
Signed-off-by: William Chargin <wchargin@gmail.com>
---
Assuming this is a typo, because I can't parse the sentence; if not,
perhaps it can be reworded for clarity?

 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.
 
-- 
2.23.0.rc1.1.g9eb78f1760


```

## Junio C Hamano, 2019-08-05 19:38

Subject: Re: [PATCH] restore: fix typo in docs
Message-ID: <xmqqmugnmmgz.fsf@gitster-ct.c.googlers.com>
URL: https://gitlist.dev/e/xmqqmugnmmgz.fsf%40gitster-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.

>
>  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.

```
