Re: [PATCH] git-fetch: Allow branch."branchname".remote=.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 13, 2006, 11:27 UTC
- Message-ID
- <Pine.LNX.4.63.0610131324090.14200@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <8aa486160610130208s67ea0746o8a54910860b3fb78@mail.gmail.com>
Hi,
On Fri, 13 Oct 2006, Santi wrote:
Show 8 quoted lines
> For example, in git.git you could have: > > [branch "next"] > remote="." > merge=master > > so the default merge in the next branch is the master branch in the > local repository.
There is a subtle problem here. Up until now, "remote" meant a short cut. You either had a file with that name in .git/remotes/ or .git/branches, or an entry in the config (remote.<name>.url).
You use it differently here, designating the URL instead of the remote. I'd rather have it point to a real remote.
Ciao, Dscho