From: Junio C Hamano Date: Tue, 15 Feb 2011 20:04:32 GMT Subject: Re: checkout/branch needs some extra safety around the --track option Message-ID: <7vfwrpnjxr.fsf@alter.siamese.dyndns.org> In-Reply-To: <201102151852.03881.johan@herland.net> Johan Herland writes: > 1. When given "--track", branch/checkout should verify that the tracked > branch is indeed a branch (preferably a remote branch, although I guess > tracking a local branch can make sense in some situations). At least, > it should deny tracking a _tag_. Tracking a tag simply does not make > sense at all (unless you expect the tag to move, in which case it > should be a branch and not a tag). Sensible, I think.