Skip to content

Cloning repository on a windows errors due to filenames with question marks #1

@RustyTingz

Description

@RustyTingz

There are 2 CVE files in the alpine folder that have question marks in the filename, these are not valid on a window machine and so an error is raised when cloning the repository.

error: unable to create file alpine/3.10/main/xen/CVE-????-?????.json: Invalid argument
error: unable to create file alpine/3.9/main/xen/CVE-????-?????.json: Invalid argument

Console output when cloning on with Windows OS
git clone git@github.com:aquasecurity/vuln-list.git
Cloning into 'vuln-list'...
remote: Enumerating objects: 348, done.
remote: Counting objects: 100% (348/348), done.
remote: Compressing objects: 100% (282/282), done.
remote: Total 1554447 (delta 261), reused 94 (delta 60), pack-reused 1554099
Receiving objects: 100% (1554447/1554447), 355.51 MiB | 12.85 MiB/s, done.
Resolving deltas: 100% (1520726/1520726), done.
error: unable to create file alpine/3.10/main/xen/CVE-????-?????.json: Invalid argument
error: unable to create file alpine/3.9/main/xen/CVE-????-?????.json: Invalid argument
Updating files: 100% (287823/287823), done.
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 :/'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions