[PATCH] dim: bump dim version to 2

Jani Nikula jani.nikula at intel.com
Tue Aug 2 07:49:17 UTC 2022


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>
---
 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



More information about the dim-tools mailing list