Skip to content

fetch_repos.py fails if git autocrlf is true #62

@ktetsuo

Description

@ktetsuo

When run this:

python .\fetch_repos.py

the following error occurs.

error: patch failed: main/boards/common/i2c_device.cc:32
error: main/boards/common/i2c_device.cc: patch does not apply
Patch C:\StackChan\firmware\patches/xiaozhi-esp32.patch cannot be applied cleanly to C:\StackChan\firmware\xiaozhi-esp32, skipped.

After run this command and retry from clone , no error.

git config --global core.autocrlf false

Development environment:

  • OS: Windows 11
  • git version 2.54.0.windows.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions