From: Santi Béjar Date: Tue, 10 Feb 2009 08:02:02 GMT Subject: Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk Message-ID: In-Reply-To: <20090210075214.GC1320@atjola.homenet> 2009/2/10 Björn Steinbrink : > On 2009.02.09 18:32:06 -0500, Jay Soffian wrote: >> Teach git branch -{r,a} how to interpret remote HEADs and highlight the >> corresponding remote branch with an asterisk, instead of showing literal >> "/HEAD". > > Hm, what's the use case for having such a marker? And since only "git > clone" sets up origin/HEAD, while "git remote add foo git://..." won't > create foo/HEAD, git remote add -f ... would create it. > you would get that marker for origin only. Also, the > origin/HEAD symref isn't updated, so it doesn't tell you which branch > is "active" in the remote repository now, but which one was active when > you cloned the repo. Maybe there should be a way to update it afterwards. Santi