Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git push hangs in object packing #2314

Closed
1 task done
yegorich opened this issue Aug 29, 2019 · 3 comments
Closed
1 task done

git push hangs in object packing #2314

yegorich opened this issue Aug 29, 2019 · 3 comments

Comments

@yegorich
Copy link

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

$ git --version --build-options
git version 2.23.0.windows.1
cpu: x86_64
built from commit: 4db2e5c
sizeof-long: 4
sizeof-size_t: 8

Windows 10 64-bit

$ cmd.exe /c ver

Microsoft Windows [Version 10.0.18362.295]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
>type "C:\Program Files\Git\etc\install-options.txt"
Editor Option: VIM
Custom Editor Path:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
Enable Builtin Interactive Add: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

I've setup this option to fix a well known bug for the git:// protocol.

git config --global sendpack.sideband 0

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

I've tried both Bash/CMD/PowerShell and GUI

git push
  • What did you expect to occur after running these commands?

Ordiniray git push response that everything got pushed.

  • What actually happened instead?

The command hangs and when I press Ctrl-C I get the following message:

error: pack-objects died of signal 2

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

It is an internal repository (the size is about 2MB) and it uses git:// as a protocol. On my previous intallation I used Windows 7 64-bit and with the following command I could fix this error:

git config --global sendpack.sideband 0

This time it doesn't help.

@landstander668
Copy link

Looks like this is a duplicate of #907.

@assarbad
Copy link

... and by extension the more recent #2278 ...

@yegorich Your first and fastest workaround will be to downgrade to v2.21.0 ...

@yegorich
Copy link
Author

yegorich commented Aug 30, 2019

@assarbad thanks. The suggested workaround works like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants