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

Re: [PATCH] clone: ignore invalid local refs in remote

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 21, 2022, 18:00 UTC
Message-ID
<xmqq7d7ijozz.fsf@gitster.g>
In-Reply-To
<b884d627-4a81-5be9-eed5-feff3b2bd010@github.com>
Derrick Stolee <derrickstolee@github.com> writes:
Show 5 quoted lines
> Sorry, this title of the commit message is stale from a version
> where I started making the clones succeed (but without these
> bad refs). I changed my mind to only switch BUG() to die() to
> avoid giving the impression that we have a "matching" repo after
> the clone.
Ah, that figures ;-)
Show 5 quoted lines
> Perhaps the commit could instead start with
>
> 	clone: die() instead of BUG() on bad refs
>
> ?
Yeah, it would be the title I would have been happy with.
Previous: Derrick StoleeNext: Derrick Stolee via GitGitGadget
Message 5 of 6 in “clone: ignore invalid local refs in remote”
  1. clone: ignore invalid local refs in remoteDerrick Stolee via GitGitGadget, Apr 18, 2022
  2. Ævar Arnfjörð BjarmasonApr 18, 2022
  3. Junio C HamanoApr 20, 2022
  4. Derrick StoleeApr 21, 2022
  5. Junio C HamanoApr 21, 2022
  6. clone: die() instead of BUG() on bad refsDerrick Stolee via GitGitGadget, Apr 25, 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.