git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fsck missing dangling commits that are candidate heads?
@ 2007-04-03 19:41 Sergio Callegari
  2007-04-03 19:47 ` Shawn O. Pearce
  2007-04-03 19:53 ` Nicolas Pitre
  0 siblings, 2 replies; 7+ messages in thread
From: Sergio Callegari @ 2007-04-03 19:41 UTC (permalink / raw)
  To: git

Hi,

on git 1.5.0.6, I have done the following:

work work

git commit -a

git reset HEAD^         (assume a mistake)

git fsck

the last fsck shows nothing...
Is this correct? Shouldn't the latest commit (the one made unreachable by the
reset) be reported as dangling and as a candidate branch head?

Also git lost-found misses the commit...
But it is there... I can find it manually in the object database and tag it.

And finally...

Also git gc --prune seems to miss the commit... so when we gc useless objects
appear to be kept around.

Is this correct?

Thanks,

Sergio

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-04-04 20:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 19:41 fsck missing dangling commits that are candidate heads? Sergio Callegari
2007-04-03 19:47 ` Shawn O. Pearce
2007-04-03 19:56   ` Sergio Callegari
2007-04-04 13:32     ` Sergio Callegari
2007-04-04 14:46       ` Shawn O. Pearce
2007-04-04 20:08         ` Sergio Callegari
2007-04-03 19:53 ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).