z/OS Tools & Language

Expand all | Collapse all

Git push inflate error

  • 1.  Git push inflate error

    Posted 07-30-2020 12:14

    At the final step to push a project to our bitbucket repo this error occurs:

    $git push -u origin master
    Authentication successful.
    Counting objects: 4, done.
    Compressing objects: 100% (4/4), done.
    Writing objects: 100% (4/4), 548 bytes | 548.00 KiB/s, done.
    Total 4 (delta 0), reused 0 (delta 0)
    remote: error: inflate: data stream error (incorrect header check)
    remote: error: inflate returned -3
    error: remote unpack failed: unpack-objects abnormal exit
    To ssh://git.ourbitbucket.net:7999/mfzos/hellomainframe.git
    ! [remote rejected] master -> master (unpacker error)
    error: failed to push some refs to ‘ssh://git@git.ourbitbucket.net:7991/mfzos/hellomainframe.git’

    gzip is at 1.9-edc

    Did anybody also have this issue?

    Thanks in advance!

    Andreas



  • 2.  RE: Git push inflate error

    Posted 07-31-2020 09:45

    Hi Andreas,
    It doesn’t seem to be an issue of ported git. Probably, something was done wrong when you committed new data to the repository.
    Could you try to clone your repository into another folder, then copy updated files to the new folder, add, commit and push?



  • 3.  RE: Git push inflate error

    Posted 07-31-2020 11:10

    Hello Tatyana,

    thank you very much for that hint, but I still get that same error:

    git clone ssh://git@git.ourbitbucket.net:7991/mfzos/hellomainframe.git 2> error.log
    
    cp ./hellomainframe_broken/.gitattributes ./hellomainframe
    
    cp ./hellomainframe_broken/HelloWorld.java ./hellomainframe
    
    git add --all
    
    git commit -m "Initial Commit"
    ðmaster (root-commit) ec36f7fö Initial Commit
    2 files changed, 2 insertions(+)
    create mode 100755 .gitattributes
    create mode 100755 HelloWorld.java
    
    git push
    Authentication successful.
    Counting objects: 4, done.
    Compressing objects: 100% (4/4), done.
    Writing objects: 100% (4/4), 547 bytes ! 547.00 KiB/s, done.
    Total 4 (delta 0), reused 0 (delta 0)
    remote: error: inflate: data stream error (incorrect header check)
    remote: error: inflate returned -3
    error: remote unpack failed: unpack-objects abnormal exit
    To ssh://git.bmwgroup.net:7999/mfzos/hellomainframe.git
    ] ðremote rejectedö master -> master (unpacker error)
    error: failed to push some refs to 'ssh://git@git.ourbitbucket.net:7991/mfzos/hellomainframe.git'


  • 4.  RE: Git push inflate error

    Posted 07-31-2020 11:45

    Is error.log empty? Can you run command “env | sort” and share the output with us? Which git version do you use?
    UPD. How big are the files in the repository?