Re: [PATCH v4 5/8] maintenance: add start/stop subcommands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/9/2020 7:13 PM, Junio C Hamano wrote:
> Josh Steadmon <steadmon@xxxxxxxxxx> writes:
> 
>>  	# start registers the repo
>> -	git config --get --global maintenance.repo "$(pwd)" &&
>> +	git config --get --global --fixed-value maintenance.repo "$(pwd)" &&
> 
> The rewrite makes it better than the original, but I wonder why the
> original did not do a more obvious

maintenance.repo is a multi-valued config setting, so it is possible
that there are multiple existing values. Hence the reason for needing
the value filter.

Thanks,
-Stolee



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux