From: Jakub Narebski Date: Thu, 11 May 2006 06:02:07 GMT Subject: Re: Implementing branch attributes in git config Message-ID: In-Reply-To: Nicolas Pitre wrote: > On Wed, 10 May 2006, Linus Torvalds wrote: > >> [branch "origin"] >> remote = git://git.kernel.org/pub/scm/git/git.git >> branch master > > I totally agree with the principle, but I find the above really > confusing. Which "branch" means what? At least if it was "remote_url" > and "remote_branch" then there wouldn't be any possibility for > confusion. I'm not sure if remotes shortcuts and configuration (which branches should be pulled, and to which branches) should be in branches configuration. It is somewhat confusing. Branches configuration might be used for default pulling, e.g. [remote "kernel.org"] url = git://git.kernel.org/pub/scm/git/git.git pull = master:origin ... pull = +pu:pu [branch "origin"] pull = kernel.org readonly [branch "pu"] pull = kernel.org readonly fast-forward = no -- Jakub Narebski Warsaw, Poland