[PATCH] dim: bump dim version to 2

Jani Nikula jani.nikula at intel.com
Thu Aug 4 08:25:00 UTC 2022


On Wed, 03 Aug 2022, Rodrigo Vivi <rodrigo.vivi at intel.com> wrote:
> On Tue, Aug 02, 2022 at 10:49:17AM +0300, Jani Nikula wrote:
>> Commit ea3d1418a434 ("dim: Use git apply to apply patch") changed dim
>> behaviour in that it now accepts fixup patches that can create new
>> files, and those need to be applied using 'git apply' instead of plain
>> 'patch'. Bump dim version to 2 to be able to require this feature.
>> 
>> We'll also need to bump the dim version requirement (DIM_MIN_VERSION) to
>> 2 in nightly.conf to account for the fixups that need this change.
>> 
>> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
>> Cc: Sam Ravnborg <sam at ravnborg.org>
>> Cc: Thomas Zimmermann <tzimmermann at suse.de>
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Acked-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

Thanks, pushed.

BR,
Jani.



>> ---
>>  dim | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/dim b/dim
>> index 3fcee14fdd25..4b43bf8303cd 100755
>> --- a/dim
>> +++ b/dim
>> @@ -308,7 +308,7 @@ function branch_to_repo # branch
>>  
>>  function dim_version
>>  {
>> -	echo "1"
>> +	echo "2"
>>  }
>>  
>>  function dim_uptodate
>> -- 
>> 2.30.2
>> 

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the dim-tools mailing list