Re: Get rid of .git/branches/ and .git/remotes/?
From: Josef Weidendorfer <hidden>
Date: 2016-06-15 22:42:13
On Tuesday 22 November 2005 18:56, Johannes Schindelin wrote:
On Tue, 22 Nov 2005, Josef Weidendorfer wrote:quoted
[remote:origin] url = master.kernel.org:/pub/scm/git/git.git pull = master:origin
I don't know if you missed it, but hierarchical config keys were introduced by b17e659dd4007cb1d3eb5ac32b524c0c5ab59601: [remote.origin] url = master.kernel.org:/pub/scm/git/git.git pull = master:origin
I know. My suggestion complements hierarchical keys:
[myporcelain.headproperties: my/head.name]
merge.candidates = my/other.head
merge.default = your/master
would be the same as
[myporcelain.headproperties]
merge.candidates = my/other.head for my/head.name
merge.default = your/master for my/head.name
It is about specifying the same " for "-part for multiple keys.
The idea is to use everything after a ":\s*" in a section name
to use as prefix for any " for "-part of keys values given in
this section.
Josef