* [PATCH] restore: fix typo in docs
@ 2019-08-03 22:04 William Chargin
2019-08-05 19:38 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: William Chargin @ 2019-08-03 22:04 UTC (permalink / raw)
To: git; +Cc: pclouds, wchargin
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] restore: fix typo in docs
2019-08-03 22:04 [PATCH] restore: fix typo in docs William Chargin
@ 2019-08-05 19:38 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2019-08-05 19:38 UTC (permalink / raw)
To: William Chargin; +Cc: git, pclouds
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-05 19:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-03 22:04 [PATCH] restore: fix typo in docs William Chargin
2019-08-05 19:38 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).