[PATCH v2 1/3] config: create a function to format section headers

2017-07-05 Thread Ævar Arnfjörð Bjarmason
From: Sahil Dua Factor out the logic which creates section headers in the config file, e.g. the 'branch.foo' key will be turned into '[branch "foo"]'. This introduces no function changes, but is needed for a later change which adds support for copying branch sections in the config file. Signed-

Re: [PATCH v2 1/3] config: create a function to format section headers

2017-06-19 Thread Sahil Dua
On Mon, Jun 19, 2017 at 2:08 PM, Ramsay Jones wrote: > > > On 18/06/17 22:16, Sahil Dua wrote: >> Factor out the logic which creates section headers in the config file, >> e.g. the 'branch.foo' key will be turned into '[branch "foo"]'. >> >> This introduces no function changes, but is needed for a

Re: [PATCH v2 1/3] config: create a function to format section headers

2017-06-19 Thread Ramsay Jones
On 18/06/17 22:16, Sahil Dua wrote: > Factor out the logic which creates section headers in the config file, > e.g. the 'branch.foo' key will be turned into '[branch "foo"]'. > > This introduces no function changes, but is needed for a later change > which adds support for copying branch section

[PATCH v2 1/3] config: create a function to format section headers

2017-06-18 Thread Sahil Dua
Factor out the logic which creates section headers in the config file, e.g. the 'branch.foo' key will be turned into '[branch "foo"]'. This introduces no function changes, but is needed for a later change which adds support for copying branch sections in the config file. Signed-off-by: Ævar Arnfj