git clone fails on MS Windows because of invalid file names within the respository
- Dominant language
- HTML
- Stars
- 18
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
MS Windows:
```
$ git clone https://github.com/EVerest/logfiles.git
Cloning into 'logfiles'...
remote: Enumerating objects: 464, done.
remote: Counting objects: 100% (114/114), done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 464 (delta 40), reused 83 (delta 17), pack-reused 350
Receiving objects: 100% (464/464), 35.51 MiB | 17.35 MiB/s, done.
Resolving deltas: 100% (173/173), done.
error: invalid path 'BMW/i4/2023-04-03T10:34:39.369Z-BMW-i4-din-spec/ethernet-traffic.dump'
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 :/'
```
Linux:
```
$ git clone https://github.com/EVerest/logfiles.git
Cloning into 'logfiles'...
remote: Enumerating objects: 464, done.
remote: Counting objects: 100% (114/114), done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 464 (delta 40), reused 83 (delta 17), pack-reused 350
Receiving objects: 100% (464/464), 35.51 MiB | 17.23 MiB/s, done.
Resolving deltas: 100% (173/173), done.
```
My guess is, that Windows filenames cannot contain certain characters, including : (colon). The timestamp "2023-04-03T10:34:39.369Z" includes a : which is valid in Unix-like systems but not in Windows file names.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.