git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 24, 2019, 05:24 UTC
Message-ID
<xmqqef7xoj2m.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<CAF5D8-tHxFyFD-ZvdYRauT_Egz8RWzF_TDL487SmuwTVO-oyhQ@mail.gmail.com>
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
Previous: Yoichi Nakayama
Message 2 of 2 in “Fix the quotation mark in the explanation of "git checkout -".”
  1. Fix the quotation mark in the explanation of "git checkout -".Yoichi Nakayama, Feb 23, 2019
  2. Junio C HamanoFeb 24, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.