threads / patch / 50567

patchFix the quotation mark in the explanation of "git checkout -".

Subject: [PATCH] Fix the quotation mark in the explanation of "git checkout -".

## tl;dr

2 messages between Feb 23, 2019 and Feb 24, 2019. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Yoichi Nakayama· Feb 23, 2019, 06:33 UTC · lore
Signed-off-by: Yoichi Nakayama <yoichi.nakayama@gmail.com>
---
 Documentation/git-checkout.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-checkout.txt +1 −1
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
index 801de2f764..55eb39a897 100644
--- a/Documentation/git-checkout.txt
+++ b/Documentation/git-checkout.txt
@@ -285,7 +285,7 @@ section of linkgit:git-add[1] to learn how to
operate the `--patch` mode.
 +
 You can use the `"@{-N}"` syntax to refer to the N-th last
 branch/commit checked out using "git checkout" operation. You may
-also specify `-` which is synonymous to `"@{-1}`.
+also specify `-` which is synonymous to `"@{-1}"`.
 +
 As a special case, you may use `"A...B"` as a shortcut for the
 merge base of `A` and `B` if there is exactly one merge base. You can
-- 
2.19.1
Junio C Hamano· Feb 24, 2019, 05:24 UTC · re: Yoichi Nakayama · lore

Re: [PATCH] Fix the quotation mark in the explanation of "git checkout -".

Yoichi Nakayama <yoichi.nakayama@gmail.com> writes:
> Subject: Re: [PATCH] Fix the quotation mark in the explanation of "git checkout -".
I'd retitle it to something like
    Subject: [PATCH] checkout doc: fix an unmatched double-quote pair
Show 11 quoted lines
> Signed-off-by: Yoichi Nakayama <yoichi.nakayama@gmail.com>
> ---
>  Documentation/git-checkout.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
> index 801de2f764..55eb39a897 100644
> --- a/Documentation/git-checkout.txt
> +++ b/Documentation/git-checkout.txt
> @@ -285,7 +285,7 @@ section of linkgit:git-add[1] to learn how to
> operate the `--patch` mode.

Patch is line-wrapped here and won't apply. I can fix up manually (or rather, type from scratch) for a tiny patch like this, so no need to resend, but if you are planning to help us with more substantial contributions in the future, please get your tools to send out patch e-mails behave better.

Thanks.
Show 8 quoted lines
>  +
>  You can use the `"@{-N}"` syntax to refer to the N-th last
>  branch/commit checked out using "git checkout" operation. You may
> -also specify `-` which is synonymous to `"@{-1}`.
> +also specify `-` which is synonymous to `"@{-1}"`.
>  +
>  As a special case, you may use `"A...B"` as a shortcut for the
>  merge base of `A` and `B` if there is exactly one merge base. You can

← back to recent threads