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

Re: en/present-despite-skipped (Re: What's cooking in git.git (Feb 2022, #05; Thu, 17))

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 23, 2022, 19:39 UTC
Message-ID
<xmqqo82xv0cj.fsf@gitster.g>
In-Reply-To
<YhV3KruSTFYEDBAO@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 11 quoted lines
>>>  Will merge to 'master'.
>>>  cf. <20220204081336.3194538-1-newren@gmail.com>
>>>  source: <pull.1114.v2.git.1642175983.gitgitgadget@gmail.com>
>>
>> I'd recommend holding off on merging to 'master' for now, until we
>> figure out what to do about
>> https://lore.kernel.org/git/YhBCsg2DCEd9FXjE@google.com/. Hopefully that
>> won't take long.
>
> Since as discussed there this isn't a regression for existing users of
> git 'master', I see no reason to hold off on merging to 'master'.

I think I've read on what people said on this topic for the past few days while I was away.

I do not quite follow the above, though.
Does the logic go like this?
 - Earlier you worried that VFS for Git and similar that have been
   working happily with vanilla Git would break with this series;
 - It turns out that VFS for Git comes with its own version of Git
   that does not have this series;
 - Hence we can do whatever we like to vanilla Git, and it won't
   immediately hurt.

The config knob to tell the sparse logic that it is OK if lstat() tells us that there appears files that ought to be missing from the filesystem due to sparse settings would be needed and that is why you sent an updated proposal patch in separate thread, right?

Shouldn't we iron out the details of that knob and release the topic with that knob at the same time? If Microsoft folks already have an existing knob to tweak the behaviour of sparse checkout to work better in vfs environment where lstat() lies, and if the necessary adjustment is wider than just the issue the sparse.expectFilesOutsideOfPatterns solves, I wonder if we should take the approach to align with their forked version of Git by matching the name and the behaviour of the knob somehow.

Thanks.
Previous: Jonathan NiederNext: Jonathan Nieder
Message 10 of 12 in “What's cooking in git.git (Feb 2022, #05; Thu, 17)”
  1. Junio C HamanoFeb 18, 2022
  2. gc/recursive-fetch-with-unused-submodules (was Re: What's cooking in git.git (Feb 2022, #05; Thu, 17))Glen Choo, Feb 18, 2022
  3. Junio C HamanoFeb 18, 2022
  4. Elijah NewrenFeb 18, 2022
  5. Junio C HamanoFeb 18, 2022
  6. ds/core-untrac[k]ed-cache-config (Was: Re: What's cooking in git.git (Feb 2022, #05; Thu, 17))Elijah Newren, Feb 18, 2022
  7. Junio C HamanoFeb 18, 2022
  8. en/present-despite-skipped (Re: What's cooking in git.git (Feb 2022, #05; Thu, 17))Jonathan Nieder, Feb 19, 2022
  9. Jonathan NiederFeb 22, 2022
  10. Junio C HamanoFeb 23, 2022
  11. Jonathan NiederFeb 25, 2022
  12. pw/single-key-interactive (was Re: What's cooking in git.git (Feb 2022, #05; Thu, 17))Phillip Wood, Feb 21, 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.