Hello,

I have faced a git bug. When I try to clone a git repo it shows an error "protocol error: bad pack header".

This is the full error message which I got while cloning git project :

Clone: protocol error: bad pack header
$ git clone -v --progress http://dev.galaxylipl.com:88/galaxygit/privatenovator.git /home/lipl/privateschoolinnovator
    Cloning into '/home/lipl/privatenovator'...
    POST git-upload-pack (190 bytes)
    remote: error: Could not read e9a6c4c684a5e8758026e8b0e25867c03332fe7c
remote: fatal: bad tree object e9a6c4c684a5e8758026e8b0e25867c03332fe7c remote: aborting due to possible repository corruption on the remote side.
    protocol error: bad pack header

I tried everything to resolve this error, I have run some commands on server side like :

# git fsck
# git-fsck --full
# git fsck --lost-found
# git repack
# git gc

But nothing worked for me and the error is still same. I tried to find the corrupt file but I was unable to find.

        Please check this issue and provide me proper solution for this.

Thanks & Regards,
Ajay Dadgas
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to