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

Re: What's cooking draft as of 2024-09-06 late night

From
PWPhillip Wood <phillip.wood123@gmail.com>
Date
Sep 7, 2024, 09:17 UTC
Message-ID
<899eb2c2-bb18-4666-98d8-9255dedfac53@gmail.com>
In-Reply-To
<xmqq7cboyq9s.fsf@gitster.g>
Hi Junio and Shubham
On 07/09/2024 06:41, Junio C Hamano wrote:
> Will merge to 'next'?
>   - sk/enable-prefetch-per-remote                                09-05          #1
>     <pull.1779.v4.git.1725565398681.gitgitgadget@gmail.com>

I've just taken a look at this and I'm left wondering why one would want to skip prefetching from a remote but still fetch from it with "git fetch --all". I set remote.<remote>.skipFetchAll for the remotes I don't want to prefetch. We also have remote.<remote>.skipDefaultUpdate I don't know offhand if that prevents a remote from being prefetched as well. I think being able to specify which refs are prefectched would be useful. Overloading remote.<remote>.prefetch to be a boolean or a refspec would complicate the implementation so maybe we'd be better just supporting refspecs and update the maintenance documentation to point users to the existing config for skipping prefetches.

Best Wishes
Phillip
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 9 in “What's cooking draft as of 2024-09-06 late night”
  1. Junio C HamanoSep 7, 2024
  2. Phillip WoodSep 7, 2024
  3. Re*: What's cooking draft as of 2024-09-06 late nightJunio C Hamano, Sep 7, 2024
  4. Shubham KanodiaSep 7, 2024
  5. Phillip WoodSep 9, 2024
  6. Junio C HamanoSep 9, 2024
  7. Phillip WoodSep 10, 2024
  8. Junio C HamanoSep 10, 2024
  9. Phillip WoodSep 9, 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.