From: Linus Torvalds Date: Tue, 15 Nov 2005 17:33:44 GMT Subject: Re: [PATCH] Disable USE_SYMLINK_HEAD by default Message-ID: In-Reply-To: <1132075295.25640.59.camel@dv> On Tue, 15 Nov 2005, Pavel Roskin wrote: > > With symlinks, cogito doesn't know which branch it is fetching if the > branch is not explicitly specified. > > The old behavior was to fetch the "master" branch by default. > Currently, cogito uses HEAD, but it cannot read the symlink, it can only > read the SHA1. Hmm? Why not just use "git-symbolic-ref HEAD" to figure it out? That works with both symlinks and symrefs (and indeed, was added for that reason). Linus