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