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

deletion of branch seems to modify tag as well?

From
LRLyons, Roy <roy.lyons@cmegroup.com>
Date
Jun 5, 2013, 15:26 UTC
Message-ID
<58EAA08AF8232344ADDB2E31D4996BFD39F271BA@SMRPEXCHIDAG2.prod.ad.merc.chicago.cme.com>
$ git push origin :ABRANCHNAME
remote: Firing Pre - receive hook
remote:
remote:
remote: Firing Post receive hook
remote:
remote: Branch is ABRANCHNAME -- not creating Trigger file since this is not _int branch
remote: error: Trying to write ref refs/tags/ABRANCHNAME!SN-BL-20130605_100513_04363 with nonexistent object 0000000000000000000000000000000000000000
remote: fatal: refs/tags/ABRANCHNAME!SN-BL-20130605_100513_04363: cannot update the ref
To ssh://git@ourgitserver/repositoryname.git
- [deleted] ABRANCHNAME
I would not expect this behavior.  Is git attempting to modify the tags associated to the HEAD commit on the branch in addition to the branch?   If so, I would like to consider this a bug report...
Thanks,
Roy Lyons
Next: Jeff King
Message 1 of 3 in “deletion of branch seems to modify tag as well?”
  1. Lyons, RoyJun 5, 2013
  2. Jeff KingJun 5, 2013
  3. Lyons, RoyJun 5, 2013

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.