Re: [PATCH] Per branch properties for pull and fetch
From: Santi <hidden>
Date: 2016-06-15 22:42:34
2006/7/27, Santi [off-list ref]:
2006/7/27, Martin Waitz [off-list ref]:quoted
hoi :) On Thu, Jul 27, 2006 at 10:14:45AM +0200, Santi Béjar wrote:quoted
It allows to specify on a per branch basis the following: .- default repository to fetch .- default branches to merge on a per repository basis .- default pull.{octopus,twohead} So if you have this in the config: [branch "my"] remote=yours merge=master merge=our from theirs merge=mine from .could we default the to-be-merged branch to "remotes/$remote/$branch" if that exists?. That could make life a lot easier when using clone --use-separate-remote.I would prefer to change git-clone and git-branch to write the full config. And I'll do this if this or someting like this is accepted.
On the other hand, my patch changes the behaviour only when explicitly configured, and your proposed default would change the behaviour even without changes to the config. Santi