git commit -s option should DTRT.

Cc: Daniel Vetter <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
---
 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 <[email protected]>" | \
-               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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to