#7472 Pagure errors out while git pushing: fatal: the remote end hung up unexpectedly
Closed: Fixed Opened by hellcp.

lcp@world:~/Documents/git/pagure> git push
Enumerating objects: 20, done.
Counting objects: 100% (20/20), done.
Delta compression using up to 2 threads
Compressing objects: 100% (11/11), done.
Writing objects: 100% (12/12), 107.99 KiB | 4.32 MiB/s, done.
Total 12 (delta 3), reused 0 (delta 0)
fatal: protocol error: expected old/new/ref, got 'shallow e68347400230e9273579c9ff4150b1b3ddb526e5'
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
lcp@world:~/Documents/git/pagure> git remote -v
origin  ssh://git@pagure.io/forks/hellcp/pagure.git (fetch)
origin  ssh://git@pagure.io/forks/hellcp/pagure.git (push)
lcp@world:~/Documents/git/pagure> git --version
git version 2.19.2 

Metadata Update from @hellcp:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This turned out to be a client side issue, the solution was to run git fetch --unshallow on the clone

Metadata