Re: [PATCH v4 0/4] fetch: avoid fetching every branch of a new remote in a shallow repo
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 29, 2026, 19:36 UTC
- Message-ID
- <xmqqqzibg884.fsf@gitster.g>
- In-Reply-To
- <pull.2412.v4.git.git.1790673598.gitgitgadget@gmail.com>
"Harald Nordgren via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 8 quoted lines
> Avoid fetching every branch of a new remote in a shallow repo. > > Changes in v4: > > * Removed the automatic default-branch fetch. A fresh remote fetches > nothing until you track a branch explicitly. > * Fixed fetch report showing "new ref HEAD" instead of "new branch " > * Reworded remote..refmap docs and commit message.
Will replace.
As my eyes have been contaminated by and biased for this topic, I'll spend my time on other topics first to let my eyes and brain "forget" about it before I revisit these patches. I'd really welcome reviews with fresh eyes to happen in the meantime.
Thanks.