[Intel-gfx] [PATCH maintainer-tools] dim: Remove git commit --amend from dim_apply

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Fri Nov 13 04:05:39 PST 2015


Calling git --amend invokes the editor, which will not run if it relies
on the terminal for input. So don't do that from dim_apply.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
---
 dim | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dim b/dim
index db92c57..893906b 100755
--- a/dim
+++ b/dim
@@ -382,8 +382,6 @@ function dim_apply
 	if [ -n $message_id ]; then
 		commit_add_tag "Link" "http://patchwork.freedesktop.org/patch/msgid/$message_id"
 	fi
-
-	git commit --amend &
 }
 
 function magic_patch
-- 
2.4.3



More information about the Intel-gfx mailing list