Skip to content

Path contains spaces that break git on windows #23

@Flavourdynamics

Description

@Flavourdynamics

Hello,

I am not 100% sure, but it appears that the two spaces at the end of one of the ".github/workflows " folder is breaking git:

Library Manager: Installing git+https://github.com/hpwit/ESPLiveScript.git#39e9409
git version 2.41.0.windows.3
Cloning into 'C:\Users\.platformio\.cache\tmp\pkg-installing-l27nji4l'...
remote: Enumerating objects: 1808, done.
remote: Counting objects: 100% (550/550), done.
remote: Compressing objects: 100% (170/170), done.
remote: Total 1808 (delta 469), reused 429 (delta 369), pack-reused 1258 (from 2)
Receiving objects: 100% (1808/1808), 33.95 MiB | 10.11 MiB/s, done.
Resolving deltas: 100% (1347/1347), done.
error: invalid path '.github/workflows  /fix-indent.yml'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

VCSBaseException: VCS: Could not process command ['git', 'clone', '--recursive', 'https://github.com/hpwit/ESPLiveScript.git', 'C:\\Users\\.platformio\\.cache\\tmp\\pkg-installing-l27nji4l']

Image

Perhaps I have that wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions