On Tue, Jun 13 2017, Junio C. Hamano jotted:
> Ævar Arnfjörð Bjarmason writes:
>
>> On Tue, Jun 13, 2017 at 7:10 PM, Junio C Hamano wrote:
>>> Indenting using <<- would make it easier to read. I.e.
>>>
>>> cat >config.branch <<-\EOF &&
>>> ;; Comment for ...
>>> [branch
Ævar Arnfjörð Bjarmason writes:
> On Tue, Jun 13, 2017 at 7:10 PM, Junio C Hamano wrote:
>> Indenting using <<- would make it easier to read. I.e.
>>
>> cat >config.branch <<-\EOF &&
>> ;; Comment for ...
>> [branch "source"]
>> ;; Comment for ...
>>
On Tue, Jun 13, 2017 at 7:10 PM, Junio C Hamano wrote:
> Sahil Dua writes:
>
>> + cat >expect <<-\EOF &&
>> + branch.dest.key1=value1
>> + some.gar.b=age
>> + branch.dest.key2=value2
>> + EOF
>> + cat >config.branch <<\EOF &&
>> +;; Comment for source
>> +[branch "source"]
Sahil Dua writes:
> + cat >expect <<-\EOF &&
> + branch.dest.key1=value1
> + some.gar.b=age
> + branch.dest.key2=value2
> + EOF
> + cat >config.branch <<\EOF &&
> +;; Comment for source
> +[branch "source"]
> + ;; Comment for the source value
> + key1 = value1
> +
From: Ævar Arnfjörð Bjarmason
Add a test for how 'git branch -m' handles the renaming of multiple
config sections existing for one branch.
The config format we use is hybrid machine/human editable, and we do
our best to preserve the likes of comments and formatting when editing
the file with git
5 matches
Mail list logo