diff mbox series

restore: fix typo in docs

Message ID 20190803220457.9338-1-wchargin@gmail.com (mailing list archive)
State New, archived
Headers show
Series restore: fix typo in docs | expand

Commit Message

William Chargin Aug. 3, 2019, 10:04 p.m. UTC
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(-)

Comments

Junio C Hamano Aug. 5, 2019, 7:38 p.m. UTC | #1
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.
diff mbox series

Patch

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.