Skip to content

git push hangs in object packing #2314

@yegorich

Description

@yegorich
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions