Skip to content

Filename too long error while cloning repo #4144

@kiran215

Description

@kiran215

While cloning repository on local machine getting "Filename too long" error for some of the classes from client-java-contrib module

error: unable to create file client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1ChallengeSpecSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionInnerPreference.java: Filename too long
error: unable to create file client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1ChallengeSpecSolverHttp01IngressPodTemplateSpecAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionInnerPreferenceMatchExpressionsInner.java: Filename too long

To resolve the above issue, I executed the command below and then tried to clone the repository, and it worked.

git config --system core.longpaths true

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