threads / patch / 51583

patchrestore: fix typo in docs

Subject: [PATCH] restore: fix typo in docs

## tl;dr

2 messages between Aug 3, 2019 and Aug 5, 2019. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

William Chargin· Aug 3, 2019, 22:04 UTC · lore
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(-)
Show changes to Documentation/git-restore.txt +1 −1
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· Aug 5, 2019, 19:38 UTC · re: William Chargin · lore

Re: [PATCH] restore: fix typo in docs

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.

← back to recent threads