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

error from 'git push' on v1.7.8-rc0

From
Stefan Näwe <stefan.naewe@gmail.com>
Date
Nov 3, 2011, 11:43 UTC
Message-ID
<CAJzBP5Q1_zX+H0jeBZNB81KLYAbtJWhUuHA3rf8CuW-_OSFXbg@mail.gmail.com>
I get errors from git push when trying to delete a (remote) branch:

$ ./bin-wrappers/git versiongit version 1.7.8.rc0 $ ./bin-wrappers/git push -q . :refs/heads/nogofatal: bad object 0000000000000000000000000000000000000000fatal: bad object 0000000000000000000000000000000000000000remote: warning: Allowing deletion of corrupt ref. I bisected this to: 52fed6e receive-pack: check connectivity before concluding "git push"

$ git describe 52fed6e~1 v1.7.5.3-492-gf96400c

$ ./bin-wrappers/git version git version 1.7.5.3.492.gf9640

$ ./bin-wrappers/git push -q . :refs/heads/nogo remote: warning: Allowing deletion of corrupt ref.

It makes no difference if the branch to be deleted exists, or not.
Regards,
  Stefan
-- 
----------------------------------------------------------------
python -c "print '73746566616e2e6e6165776540676d61696c2e636f6d'.decode('hex')"
Next: Stefan Näwe
Message 1 of 5 in “error from 'git push' on v1.7.8-rc0”
  1. Stefan NäweNov 3, 2011
  2. Stefan NäweNov 3, 2011
  3. Stefan NaeweNov 3, 2011
  4. Junio C HamanoNov 3, 2011
  5. Junio C HamanoNov 3, 2011

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.