Skip to content

Whole team gets 'inflate returned -5' when cloning a specific repo on Windows #1848

Closed
@raggot

Description

My team and I have a private repository hosted on GitLab. We have had some issues with it lately, and after some testing and hacking, we ended up realising we seem not to be able to clone from origin on Windows, but we can on Ubuntu.

I have posted a detailed question on Stack Overflow about the issue we have, so I won't repeat myself, but very briefly, this is what we get when trying to clone:

$ git clone git@gitlab.com:rbionics/msd/msd-source-legacy-test.git
Cloning into 'msd-source-legacy-test'...
Enter passphrase for key '/c/Users/Username/.ssh/id_rsa':
remote: Enumerating objects: 3749, done.
remote: Counting objects: 100% (3749/3749), done.
remote: Compressing objects: 100% (1393/1393), done.
fatal: pack has bad object at offset 25651765: inflate returned -5
fatal: index-pack failed

I read on some other websites that in the past this was associated to a bug in Git. I wonder if it's possible, as in Ubuntu everything seems to work.

Thanks in advance for your time.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions