From: Shawn O. Pearce Date: Thu, 30 Apr 2009 19:27:14 GMT Subject: Re: detecting cycles in Git's commit graph Message-ID: <20090430192714.GT23604@spearce.org> In-Reply-To: <20090430191857.GA55192@ginosko.grantstreet.com> Michael Hendricks wrote: > Are there any tools for detecting cycles in the commit graph which > have been caused by grafts? I thought 'git fsck' might do it, but it > doesn't seem to. Nope. Cycles don't happen in a DAG. So nobody has created tools for it. :-) Yes, grafts are impure and can be used to cause a cycle, which is one reason among many we don't encourage them being used. -- Shawn.