Re: confusion over the new branch and merge config
- From
Tom Prince <tom.prince@ualberta.net>
- Date
- Dec 23, 2006, 03:10 UTC
- Message-ID
- <20061223031031.GA7412@socrates.priv>
- In-Reply-To
- <7vpsabv6tm.fsf@assigned-by-dhcp.cox.net>
On Fri, Dec 22, 2006 at 03:39:33PM -0800, Junio C Hamano wrote:
Show 19 quoted lines
> [PATCH] Do not support "partial URL shorthand" anymore. > > We used to support specifying the top part of remote URL in > remotes and use that as a short-hand for the URL. > > $ cat .git/remotes/jgarzik > URL: git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/ > $ git pull jgarzik/misc-2.6 > > This is confusing when somebody attempts to do this: > > $ git pull origin/foo > > which is not syntactically correct (unless you have origin/foo.git > repository) and should fail, but it resulted in a mysterious > access to the 'foo' subdirectory of the origin repository. > > Which was what it was designed to do, but because this is an > oddball "feature" I suspect nobody uses, let's remove it.
Except with the forthcoming submodule support, this feature might become more useful.
Tom