From: Catalin Marinas Date: Tue, 15 Nov 2005 10:31:46 GMT Subject: Re: [PATCH] Disable USE_SYMLINK_HEAD by default Message-ID: In-Reply-To: <1132042427.3512.50.camel@dv> Pavel Roskin wrote: > On Mon, 2005-11-14 at 23:03 -0800, Junio C Hamano wrote: >> The one format is that .git/HEAD can either be a symlink or >> regular file text symref; both variants are tested -- wouldn't >> that be good enough? > > No. Even if git itself is tested, other tools are not. What's worse, > the developers of those tools don't even know they are supposed to test > for two HEAD formats unless they track git changes and mailing lists > very carefully. > > In particular, StGIT still needs fixing. StGIT has been fixed for this in the latest snapshot (but not in the latest release). It now uses "git-symbolic-ref HEAD" to get the name of the current branch. -- Catalin