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

Re: [PATCH] refs: unify parse_worktree_ref() and ref_type()

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 21, 2022, 16:45 UTC
Message-ID
<xmqqczbo65h8.fsf@gitster.g>
In-Reply-To
<CAFQ2z_PQFtq-ph1B0tUFDW7ngVwg9++k2M_5rvozsLVisX2+Qg@mail.gmail.com>
Han-Wen Nienhuys <hanwen@google.com> writes:
Show 17 quoted lines
> On Mon, Sep 19, 2022 at 11:43 PM Junio C Hamano <gitster@pobox.com> wrote:
>> > On Tue, Sep 13, 2022 at 5:43 PM Junio C Hamano <gitster@pobox.com> wrote:
>> >> then a better approach would be to have a small helper
>> >> parse_local_worktree_ref() and make the primary one into something
>> >> like
>> >>...
>> >
>> > Thanks, good idea. I'm sending you a v2.
>>
>> is that "v2" <pull.1325.v2.git.git.1663605291172.gitgitgadget@gmail.com>
>> or is there another version of it?
>
> I think so.
>
>> Hmph,
>
> Did I do something wrong?

Not "wrong" per-se, but I was surprised by the patch that looked quite different from what I expected from your response to the "small helper" suggestion.

Previous: Han-Wen NienhuysNext: Han-Wen Nienhuys via GitGitGadget
Message 8 of 9 in “refs: unify parse_worktree_ref() and ref_type()”
  1. refs: unify parse_worktree_ref() and ref_type()Han-Wen Nienhuys via GitGitGadget, Sep 12, 2022
  2. Junio C HamanoSep 12, 2022
  3. Junio C HamanoSep 12, 2022
  4. Junio C HamanoSep 13, 2022
  5. Han-Wen NienhuysSep 19, 2022
  6. Junio C HamanoSep 19, 2022
  7. Han-Wen NienhuysSep 20, 2022
  8. Junio C HamanoSep 21, 2022
  9. refs: unify parse_worktree_ref() and ref_type()Han-Wen Nienhuys via GitGitGadget, Sep 19, 2022

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.