Thread (6 messages) 6 messages, 3 authors, 2020-08-02

Re: I have gone and done a bad thing - malformed tree objects

From: Jeff King <hidden>
Date: 2020-08-01 01:44:46

On Fri, Jul 31, 2020 at 08:01:58PM -0400, Jason Pyeron wrote:
quoted
That should be dropping everything that isn't reachable. I'd suggest to
expire reflogs, though it looks like you've also tried "git gc" with
reflog expiration. Does removing .git/logs entirely help?

If not, are you sure it isn't actually reachable from your history? What
does:

  git rev-list --all --objects | grep 00009623a06
$ git rev-list --all --objects | grep 00009623a06
00009623a06b8dea7c151542fc789539599c07d0 src/htdocs
(it is still running...)

But that is an expected result, I will be back at work on Sunday.
So it sounds like it's still reachable, and you'd need to rewrite
history to get rid of it. Or is that object OK, and it's a containing
tree that mentions it with the wrong mode the problem? In that case,
same question: is the containing tree reachable?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help