Core dump on commit
- From
- Marko Vukovic <amasniko@yahoo.com>
- Date
- Aug 15, 2011, 14:30 UTC
- Message-ID
- <loom.20110815T162144-798@post.gmane.org>
I get this error after running "git commit"
error: Object 42504431bac2e2054483c1bbc35f1b535f8d11bb is a tag, not a commit Segmentation fault (core dumped)
"git cat-file -p 42504431bac2e2054483c1bbc35f1b535f8d11bb" gives this:
object 1b9a97613307b5c7bbc189a0e41506cb1534740a type commit tag v1.0 tagger marko <marko@bib> Sun Aug 14 20:42:12 2011 -0400
The first release
I had created a tag yesterday which I deleted since with "git tag -d" command.
Curiously, I could not find file ".git/objects/42/504431bac2e2054483c1bbc35f1b535f8d11bb" which I expected based on my very limited understanding of the Git internals. So, where does "git cat-file" pick up that information from? But more importantly, how do I fix this problem?