Skip to content

git clone fail with zeroPaddedFilemode: contains zero-padded file modes #908

@rexpan

Description

@rexpan

Try to clone the project with git will fail with following error

$ git clone git@github.com:WiseLibs/better-sqlite3.git
Cloning into 'better-sqlite3'...
remote: Enumerating objects: 14910, done.
remote: Counting objects: 100% (233/233), done.
remote: Compressing objects: 100% (111/111), done.
error: object 47b7a1e47209caa72e92ad6d1d597c8368aa626e: zeroPaddedFilemode: contains zero-padded file modes
fatal: fsck error in packed object
fatal: fetch-pack: invalid index-pack output

Workaround is use

 git clone --config transfer.fsckobjects=false --config receive.fsckobjects=false --config fetch.fsckobjects=false git@github.com:WiseLibs/better-sqlite3.git

Would be nice if we can fix the Git repo.

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