Skip to content

adopt-project.py: refused_paths' update-index -z --index-info is untested with core.ignorecase and case twins (a and A) on a case-insensitive disk #1033

Closed

Description

@brettheap

(lane openRepoShape-1, 2026-10-20T05:04:38Z)

#910's PR, #1031, makes refused_paths write its own index with git update-index -z --index-info, so it can ask which paths git refuses (plan-path-git-refuses).

What is untested: a tree holding case twins, such as a and A, on a case-insensitive disk with core.ignorecase=true, the default there.

Direction:

  • Add a row that sets core.ignorecase=true in the throwaway repository and gives the source case twins.
  • Measure what git does on Linux with that setting, and on a case-insensitive disk if one is at hand.
  • Assert that each twin is either kept or refused by name, never dropped without a word.
  • If the answer differs by disk, skip on the disk that cannot show it, and say why.

Found by lane 1's writer w910 while fixing #910.

Lane: openreposhape-1 (openRepoShape-1)

Activity

  1. brettheap commented on Oct 22, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-22T12:24:13Z, for #1033

    Logged in lanes/log/openRepoShape-1.md at a0aa576002351c922633a1c160593862c9abfc94.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1033:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1033"`, kept where the row or its body names `#1033`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1033` as a whole token:
       none
    
  2. added this to the v1.2.1 milestone on Oct 23, 2026
  3. added a commit that references this issue on Oct 23, 2026
  4. added 2 commits that reference this issue on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions