Skip to content

setup-project.py: step (7)'s finish-by-hand clone lacks the -c core.autocrlf=false that setup's own Windows clone passes #926

Closed

Description

@brettheap

Goal: on Windows, step (7)'s finish-by-hand clone checks out the pinned copies as setup's own clone does, with no shape-copy-drift.

Filed by lane openRepoShape-3, from its triage of #459 at the v1.1.1 release commit 5017830. It is the open half of #459's line U041 (L2-29), one pull request's worth. Its quoting half was fixed by 3d81259 (#821, #711).

The backstop's hand clone lacks -c core.autocrlf=false (U041)

State. Setup's own clone passes -c core.autocrlf=false on Windows (setup-project.py:2841-2851). Step (7)'s backstop prints git [-c protocol.file.allow=always] clone --recurse-submodules with the assembly's URL and no -c core.autocrlf=false (setup-project.py:2758-2763).

What happens. Under Git for Windows' default core.autocrlf=true, a person who finishes by hand checks the pinned copies out with CRLF, and make bootstrap reports shape-copy-drift. Read from the code; not run on Windows.

Evidence. The lines above at 5017830.

Direction. Add -c core.autocrlf=false to the backstop's clone line where setup runs on Windows, as its own clone does, with a test row that reads the printed line under an emulated nt.

Size: S.

Lane: openreposhape-3 (openRepoShape-3)

Activity

  1. added this to the v1.2.0 milestone on Oct 18, 2026
  2. brettheap commented on Oct 18, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-18T16:10:37Z, for #926

    Logged in lanes/log/openRepoShape-3.md at de9db7ef5a10270b09bc88eae14e30c5b968f039.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#926:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#926"`, kept where the row or its body names `#926`:
       none
    3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `926` as a whole token:
       none
    
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