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

Re: en/present-despite-skipped (Was: Re: What's cooking in git.git (Feb 2022, #04; Tue, 15))

From
Elijah Newren <newren@gmail.com>
Date
Feb 16, 2022, 16:38 UTC
Message-ID
<CABPp-BGG1nOedrcRz+w3PvXmHkJakv+8OZnvgT=ZcszqUsvyog@mail.gmail.com>
In-Reply-To
<220216.867d9vuorn.gmgdl@evledraar.gmail.com>

On Wed, Feb 16, 2022 at 1:47 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

Show 35 quoted lines
>
> On Tue, Feb 15 2022, Elijah Newren wrote:
>
> > On Tue, Feb 15, 2022 at 12:01 PM Junio C Hamano <gitster@pobox.com> wrote:
> >>
> >> * en/present-despite-skipped (2022-01-14) 6 commits
> >>  - Accelerate clear_skip_worktree_from_present_files() by caching
> >>  - Update documentation related to sparsity and the skip-worktree bit
> >>  - repo_read_index: clear SKIP_WORKTREE bit from files present in worktree
> >>  - unpack-trees: fix accidental loss of user changes
> >>  - t1011: add testcase demonstrating accidental loss of user modifications
> >>  - Merge branch 'vd/sparse-clean-etc' into en/present-despite-skipped
> >>  (this branch uses vd/sparse-clean-etc.)
> >>
> >>  In sparse-checkouts, files mis-marked as missing from the working tree
> >>  could lead to later problems.  Such files were hard to discover, and
> >>  harder to correct.  Automatically detecting and correcting the marking
> >>  of such files has been added to avoid these problems.
> >>
> >>  Will merge to 'next'?
> >>  cf. <20220204081336.3194538-1-newren@gmail.com>
> >>  source: <pull.1114.v2.git.1642175983.gitgitgadget@gmail.com>
> >
> > Is there anything specific you're looking for here?
> >
> > I think it's ready, as I said two weeks ago in the link you provided
> > above.  All reviewer feedback was addressed to reviewers' satisfaction
> > over a month ago, so I'm not sure what else to do here...
>
> FWIW I gave it some light reading just now & left some comments on it.
>
> I don't think any of them should be blocking on it being merged down to
> "next", but perhaps some of them suggest worthwhile follow-ups. In
> particular the suggested documentation changes & the behavior/error
> checking around the lstat() and index iteration in the new path_found().

You do seem to like waiting until after things merge down to review (Junio merged this 7 hours before your email here). ;-)

I can include the documentation changes along with my switching of the default mode in sparse-checkout (i.e. my breaking up and resubmitting [1] in a separate series), especially since the sparse-checkout documentation is be heavily modified in that series anyway. I think the lstat stuff deserves a separate xlstat in wrapper.[ch] if we really want that kind of check everywhere, and seems like a bigger separate refactor. I'm guessing by index iteration it was the part where you got confused on char* vs. char **, and there aren't any changes needed; let me know if my guess on that is wrong.

[1] https://lore.kernel.org/git/e30119b96dfaf9fdb82039cab84f8b81caacc1de.1644712798.git.gitgitgadget@gmail.com/
Previous: Ævar Arnfjörð BjarmasonNext: Elijah Newren
Message 6 of 9 in “What's cooking in git.git (Feb 2022, #04; Tue, 15)”
  1. Junio C HamanoFeb 15, 2022
  2. ja/i18n-common-messages (was: What's cooking in git.git (Feb 2022, #04; Tue, 15))Ævar Arnfjörð Bjarmason, Feb 15, 2022
  3. ab/ambiguous-object-name & ab/only-single-progress-at-once (was: What's cooking in git.git (Feb 2022, #04; Tue, 15))Ævar Arnfjörð Bjarmason, Feb 15, 2022
  4. en/present-despite-skipped (Was: Re: What's cooking in git.git (Feb 2022, #04; Tue, 15))Elijah Newren, Feb 16, 2022
  5. Ævar Arnfjörð BjarmasonFeb 16, 2022
  6. Elijah NewrenFeb 16, 2022
  7. js/apply-partial-clone-filters-recursively (Was: Re: What's cooking in git.git (Feb 2022, #04; Tue, 15))Elijah Newren, Feb 16, 2022
  8. ds/sparse-checkout-requires-per-worktree-config (Was: Re: What's cooking in git.git (Feb 2022, #04; Tue, 15))Elijah Newren, Feb 16, 2022
  9. Derrick StoleeFeb 16, 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.