It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

remote: error: inflate: data stream error (unknown compression method)

After some computer "Blue Screen Of death" episodes, I cannot "Push" commits to a Dropbox origin bare repository. The dialog is:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st push -v --tags --set-upstream origin Bulk_extract:Bulk_extract
Pushing to D:/Meir/Dropbox/git_repositories/ML.git
sh: warning: setlocale: LC_ALL: cannot change locale (en): No such file or directory
remote: error: inflate: data stream error (unknown compression method)        
remote: fatal: failed to read object 2e7c1be969812b240f6dfa7ca9506de4d30d4a04: Invalid argument        
error: inflate: data stream error (unknown compression method)
fatal: failed to read object 2e7c1be969812b240f6dfa7ca9506de4d30d4a04: Invalid argument
To D:/Meir/Dropbox/git_repositories/ML.git
 ! [remote rejected] Bulk_extract -> Bulk_extract (missing necessary objects)
error: failed to push some refs to 'D:/Meir/Dropbox/git_repositories/ML.git'

Completed with errors, see above.

Help? Anybody...?

Regards
Meir

1 answer

1 vote
minnsey Atlassian Team Jun 07, 2017

Hi

it sounds like your Git repository has been corrupted. It is probably worht running git fsck, https://git-scm.com/docs/git-fsck, or possibly re-cloning

Running git fsck --full  yiels this:

Dad@Meir_2 MINGW64 /d/Meir/Dropbox/git_repositories/ML.git (BARE:master)
$ git fsck --full
notice: HEAD points to an unborn branch (master)
error: inflate: data stream error (unknown compression method)
error: unable to unpack 2e7c1be969812b240f6dfa7ca9506de4d30d4a04 header
error: inflate: data stream error (unknown compression method)
fatal: loose object 2e7c1be969812b240f6dfa7ca9506de4d30d4a04 (stored in ./objects/2e/7c1be969812b240f6dfa7ca9506de4d30d4a04) is corrupt

Any hope???

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,942 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you