git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Cannot push a commit

From
Matthias Fechner <idefix@fechner.net>
Date
Jan 15, 2012, 09:09 UTC
Message-ID
<4F1297E0.1060703@fechner.net>
Dear List,

I have a big problem with a file which I cannot push to my central git repository. The file can be found here: http://dl.fechner.net/APP_UD.sch

What I did to reproduce it: On my server (freebsd with git 1.7.8.3) cd mkdir git-test cd git-test git init --bare

On my client a windows pc with tortoise git 1.7.6.0 and git 1.7.8.msysgit.0 I cloned the repository over ssh Added a small test.txt file, commit and pushed it to the server, everything is fine. Then a copied the file above to the local repo, added it and commited it. If I try to push it, I get the error message: git.exe push --progress "origin" master:master

Counting objects: 4, done. Compressing objects: 100% (3/3) Writing objects: 100% (3/3), 80.00 KiB | 137 KiB/s Writing objects: 100% (3/3), 91.63 KiB | 137 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0) fatal: early EOF error: unpack failed: unpack-objects abnormal exit To idefix@fechner.net:git-test ! [remote rejected] master -> master (n/a (unpacker error)) error: failed to push some refs to 'idefix@fechner.net:git-test'

git config -l shows on the windows pc: core.symlinks=false core.autocrlf=false color.diff=auto color.status=auto color.branch=auto color.interactive=true pack.packsizelimit=2g help.format=html http.sslcainfo=/bin/curl-ca-bundle.crt sendemail.smtpserver=/bin/msmtp.exe diff.astextplain.textconv=astextplain rebase.autosquash=true user.name=Matthias Fechner user.email=idefix@fechner.net core.autocrlf=false core.safecrlf=false core.repositoryformatversion=0 core.filemode=false core.bare=false core.logallrefupdates=true core.symlinks=false core.ignorecase=true core.hidedotfiles=dotGitOnly remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.url=idefix@fechner.net:git-test remote.origin.puttykeyfile= branch.master.remote=origin branch.master.merge=refs/heads/master

How can I solve this problem? Is this maybe a bug in git?

Thanks a lot Matthias

-- 
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
Next: Matthias Fechner
Message 1 of 7 in “Cannot push a commit”
  1. Matthias FechnerJan 15, 2012
  2. Matthias FechnerJan 16, 2012
  3. Jeff KingJan 16, 2012
  4. Matthias FechnerJan 17, 2012
  5. Matthias FechnerJan 18, 2012
  6. Jeff KingJan 19, 2012
  7. Matthias FechnerJan 24, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.