Re: [PATCH] Disable USE_SYMLINK_HEAD by default
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Nov 15, 2005, 17:33 UTC
- Message-ID
- <Pine.LNX.4.64.0511150931010.3945@g5.osdl.org>
- In-Reply-To
- <1132075295.25640.59.camel@dv>
On Tue, 15 Nov 2005, Pavel Roskin wrote:
Show 7 quoted lines
> > 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