diff mbox series

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

Message ID CAF5D8-tHxFyFD-ZvdYRauT_Egz8RWzF_TDL487SmuwTVO-oyhQ@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series Fix the quotation mark in the explanation of "git checkout -". | expand

Commit Message

Yoichi Nakayama Feb. 23, 2019, 6:33 a.m. UTC
Signed-off-by: Yoichi Nakayama <yoichi.nakayama@gmail.com>
---
 Documentation/git-checkout.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

 merge base of `A` and `B` if there is exactly one merge base. You can

Comments

Junio C Hamano Feb. 24, 2019, 5:24 a.m. UTC | #1
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

> 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.

>  +
>  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
diff mbox series

Patch

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