* [PATCH] Fix the quotation mark in the explanation of "git checkout -".
@ 2019-02-23 6:33 Yoichi Nakayama
2019-02-24 5:24 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Nakayama @ 2019-02-23 6:33 UTC (permalink / raw)
To: git
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.
+
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix the quotation mark in the explanation of "git checkout -".
2019-02-23 6:33 [PATCH] Fix the quotation mark in the explanation of "git checkout -" Yoichi Nakayama
@ 2019-02-24 5:24 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2019-02-24 5:24 UTC (permalink / raw)
To: Yoichi Nakayama; +Cc: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-24 5:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-23 6:33 [PATCH] Fix the quotation mark in the explanation of "git checkout -" Yoichi Nakayama
2019-02-24 5:24 ` Junio C Hamano
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 NNTP newsgroup(s).