[Intel-gfx] [maintainer-tools PATCH 1/5] dim: stop adding Daniel's signed-off-by to driver date updates

Jani Nikula jani.nikula at intel.com
Fri Sep 8 13:29:57 UTC 2017


git commit -s option should DTRT.

Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dim b/dim
index b4e46c698345..6d889bd6a04d 100755
--- a/dim
+++ b/dim
@@ -1522,8 +1522,7 @@ function dim_update_next
 	$DRY sed -i -e "s/^#define DRIVER_DATE.*\"[0-9]*\"$/#define DRIVER_DATE\t\t\"$driver_date\"/; s/^#define DRIVER_TIMESTAMP.*/#define DRIVER_TIMESTAMP\t$driver_timestamp/" \
 	     drivers/gpu/drm/i915/i915_drv.h
 	$DRY git add drivers/gpu/drm/i915/i915_drv.h
-	echo -e "drm/i915: Update DRIVER_DATE to $driver_date\n\nSigned-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>" | \
-		git commit -s -F -
+	git commit $DRY_RUN -sm "drm/i915: Update DRIVER_DATE to $driver_date"
 
 	gitk drm-intel-next-queued ^$(url_to_remote $drm_upstream_git)/drm-next &
 
-- 
2.11.0



More information about the Intel-gfx mailing list