Thread (6 messages) flat view 6 messages, 5 authors, 2016-06-15

Re: [PATCH] Disable USE_SYMLINK_HEAD by default

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:12

Dear diary, on Tue, Nov 15, 2005 at 06:33:44PM CET, I got a letter
where Linus Torvalds [off-list ref] said that...
On Tue, 15 Nov 2005, Pavel Roskin wrote:
quoted
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).
If you show me a way how to do git-symbolic-ref over HTTP, I will be
most grateful. :-)

Seriously though, if people have huge problem with having symbolic refs
by default, that's unfortunate since we have two possibilities which are
not equally tested, but I can live with it - just give me a way to
configure that behaviour per-repository, so that I can make GIT use
symbolic refs in public repositories (or I can whip up a patch myself at
the evening, after all...).

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help