All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dim: Fixup Link: tag in apply-pull
@ 2017-04-04  9:37 Daniel Vetter
  2017-04-04 10:17 ` Jani Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Vetter @ 2017-04-04  9:37 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter, Daniel Vetter

Somehow fell apart again in testing, let's do the same thing as with
apply-branch, where we also apply the Link: after the sob is added.

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 dim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dim b/dim
index 588e859cf9e6..33d5fd3c0303 100755
--- a/dim
+++ b/dim
@@ -737,14 +737,14 @@ function dim_apply_pull
 
 	message_id=$(message_get_id $file)
 
+	git commit --amend -s --no-edit
 	if [ -n "$message_id" ]; then
-		dim_commit_add_tag "\nLink: http://patchwork.freedesktop.org/patch/msgid/$message_id"
+		dim_commit_add_tag "Link: http://patchwork.freedesktop.org/patch/msgid/$message_id"
 	else
 		echoerr "WARNING: No message-id found in the patch file."
 		rv=1
 	fi
 
-	git commit --amend -s --no-edit
 
 	eval $DRY $DIM_POST_APPLY_ACTION
 
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-04 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-04  9:37 [PATCH] dim: Fixup Link: tag in apply-pull Daniel Vetter
2017-04-04 10:17 ` Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.