8000 Add .gitattributes to force LF line endings · Issue #28 · simon-inkie/inkie-deck · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Add .gitattributes to force LF line endings #28

Closed

Description

@simon-inkie

Problem

Cloned with Git for Windows (core.autocrlf=true) and run from WSL, every .sh file, the Python inbox CLI, and .env files would get CRLF line endings and fail with a "no such file or directory" error from bash's shebang handling. Not yet reproduced in this test (expected but not triggered), but it is the most likely wrong move for a Windows user following the docs literally.

Evidence

Flagged during the test's review of the working tree.

Fix

Add a .gitattributes forcing * text=auto eol=lf plus explicit binary types. Keep the existing advice to clone inside WSL rather than on the Windows-mounted filesystem.

Acceptance criteria

  • File exists on the default branch.
  • git ls-files --eol shows no CRLF in the working tree after a fresh clone with core.autocrlf=true.
  • Test suites unaffected.

From the 2026-09-27 Windows/WSL install test.

Activity

  1. added
    priority:P2
    install
    on Sep 27, 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

    installpriority:P2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0