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.lankho...@linux.intel.com>
Cc: Sam Ravnborg <s...@ravnborg.org>
Cc: Thomas Zimmermann <tzimmerm...@suse.de>
Signed-off-by: Jani Nikula <jani.nik...@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

Reply via email to