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

Re: [PATCH] t5601: exercise clones with "includeIf.*.onbranch"

From
Patrick Steinhardt <ps@pks.im>
Date
Mar 22, 2024, 02:15 UTC
Message-ID
<Zfzp0cxe68My35gW@tanuki>
In-Reply-To
<ZfzmdcBT5MUqoxrk@tanuki>
On Fri, Mar 22, 2024 at 03:01:25AM +0100, Patrick Steinhardt wrote:
> On Tue, Mar 12, 2024 at 01:38:26PM -0700, Junio C Hamano wrote:
> > Patrick Steinhardt <ps@pks.im> writes:
[snip]
> With Git v2.44 this behaviour did indeed change, and arguably for the
> better. This is because we now pre-init "HEAD" to "refs/heads/.invalid"
> instead of using the default branch name. Thus, we do not match "master"
> anymore, which is likely the correct thing to do.

This is wrong by the way. I didn't mean to say Git v2.44, but the upcoming Git v2.45 starting with 199f44cb2e (builtin/clone: allow remote helpers to detect repo, 2024-02-27).

Patrick
Previous: Junio C Hamano
Message 10 of 10 in “[BUG] cannot git clone with includeif onbranch”
  1. Angelo DureghelloMar 8, 2024
  2. brian m. carlsonMar 8, 2024
  3. Angelo DureghelloMar 8, 2024
  4. rsbecker@nexbridge.comMar 8, 2024
  5. Patrick SteinhardtMar 11, 2024
  6. t5601: exercise clones with "includeIf.*.onbranch"Patrick Steinhardt, Mar 12, 2024
  7. Junio C HamanoMar 12, 2024
  8. Patrick SteinhardtMar 22, 2024
  9. Junio C HamanoMar 22, 2024
  10. Patrick SteinhardtMar 22, 2024

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.