[PATCH] dim: Switch Link: tags to https://

Daniel Vetter daniel.vetter at ffwll.ch
Sun Jul 16 10:26:38 UTC 2017


http: gets a "301 moved permanently" reply.

Reported-by: Paul Menzel <paulepanter at users.sourceforge.net>
Cc: Paul Menzel <paulepanter at users.sourceforge.net>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 dim | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dim b/dim
index 79d616cbf354..1fcd8d73fe1e 100755
--- a/dim
+++ b/dim
@@ -749,7 +749,7 @@ function dim_apply_branch
 	git am --scissors -3 $sob "$@" $file
 
 	if [ -n "$message_id" ]; then
-		dim_commit_add_tag "Link: http://patchwork.freedesktop.org/patch/msgid/$message_id"
+		dim_commit_add_tag "Link: https://patchwork.freedesktop.org/patch/msgid/$message_id"
 	else
 		echoerr "WARNING: No message-id found in the patch file."
 		rv=1
@@ -789,7 +789,7 @@ function dim_apply_pull
 
 	git commit --amend -s --no-edit
 	if [ -n "$message_id" ]; then
-		dim_commit_add_tag "Link: http://patchwork.freedesktop.org/patch/msgid/$message_id"
+		dim_commit_add_tag "Link: https://patchwork.freedesktop.org/patch/msgid/$message_id"
 	else
 		echoerr "WARNING: No message-id found in the patch file."
 		rv=1
@@ -872,7 +872,7 @@ function dim_add_link
 	rm -f $file
 
 	if [[ -n "$message_id" ]]; then
-		dim_commit_add_tag "Link: http://patchwork.freedesktop.org/patch/msgid/$message_id"
+		dim_commit_add_tag "Link: https://patchwork.freedesktop.org/patch/msgid/$message_id"
 	else
 		echoerr "No message-id found in the patch file."
 	fi
-- 
2.13.2



More information about the dri-devel mailing list