Skip to content

Can't clone the repository, some filenames are too long #868

@Julien00859

Description

@Julien00859

I ran into an issue cloning the repository:

$ git clone -c core.longpaths=true [email protected]:odoo/industry.git
Cloning into 'industry'...
remote: Enumerating objects: 71779, done.
remote: Counting objects: 100% (659/659), done.
remote: Compressing objects: 100% (431/431), done.
remote: Total 71779 (delta 412), reused 228 (delta 228), pack-reused 71120 (from 4)
Receiving objects: 100% (71779/71779), 335.21 MiB | 10.61 MiB/s, done.
Resolving deltas: 100% (59879/59879), done.
error: unable to create file bakery/static/src/binary/ir_attachment/1269-Croissants!@formatdmd#food#foodporn#foodie#foodphotography#foodstagram#foodblogger#croissant#croissants#pastry#pastrychef#pastries#bread#breadbaking#baking#bakery.jpeg: File name too long
error: unable to create file bakery/static/src/binary/ir_attachment/1277-Croissants!@formatdmd#food#foodporn#foodie#foodphotography#foodstagram#foodblogger#croissant#croissants#pastry#pastrychef#pastries#bread#breadbaking#baking#bakery.webp: File name too long
error: unable to create file dropshipping/static/src/binary/ir_attachment/1262-DALL·E2025-03-1813.58.52-AJapaneseabstract-themedbackgroundfeaturingaminimalisticdesigninwhiteandred,inspiredbytheJapaneseflag.Thecompositionincludessmooth.webp: File name too long
error: unable to create file dropshipping/static/src/binary/ir_attachment/1264-DALL·E2025-03-1814.00.34-Anabstract-themedbackgroundfeaturingaminimalisticdesigninvibrantblue-greenandwhite.Thecompositionincludesgeometricandorganicshapes,.webp: File name too long
error: unable to create file dropshipping/static/src/binary/ir_attachment/1299-DALL·E2025-03-1815.37.21-Ahigh-resolutionruggedtexturebackgroundinablackandwhitecolortheme.Thetextureshouldappearrough,withdeepcracks,scratches,anduneven.webp: File name too long
error: unable to create file dropshipping/static/src/binary/ir_attachment/1301-DALL·E2025-03-1815.38.24-Ahigh-resolutionruggedtexturebackgroundinasoftandnicelightbluepastelcolortheme.Thetextureshouldappearslightlyroughbutwithagent.webp: File name too long
error: unable to create file dropshipping/static/src/binary/ir_attachment/1303-DALL·E2025-03-1815.39.05-Ahigh-resolutionsoftandfuzzytexturebackgroundinalightgreenpastelcolortheme.Thetextureshouldappearsmoothandairy,withadelicate,b.webp: File name too long
error: unable to create file dropshipping/static/src/binary/ir_attachment/1371-DALL·E2025-03-1816.58.51-Ahigh-resolution,seamlessorangebackgroundwithasmoothandsubtlewavypattern.Theentireimageshouldbefilledwithgentle,flowingcurvestha.webp: File name too long
error: unable to create file dropshipping/static/src/binary/ir_attachment/1373-DALL·E2025-03-1817.00.41-Ahigh-resolution,seamlesspinkbackgroundwithanultra-smoothanduniformtexture.Theentireimageshouldbefilledwithaconsistent,softpinkc.webp: File name too long
Updating files: 100% (6641/6641), 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 :/'

I'm on a Linux Mint 21.3, with an encrypted ext4+eCryptfs home directory. On my system the effective file name length limit is around 140 bytes.

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