Patchwork dim: Switch Link: tags to https://

login
register
mail settings
Submitter Daniel Vetter
Date July 16, 2017, 10:26 a.m.
Message ID <20170716102638.21220-1-daniel.vetter@ffwll.ch>
Download mbox | patch
Permalink /patch/9842875/
State New
Headers show

Comments

Daniel Vetter - July 16, 2017, 10:26 a.m.
http: gets a "301 moved permanently" reply.

Reported-by: Paul Menzel <paulepanter@users.sourceforge.net>
Cc: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 dim | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Paul Menzel - July 16, 2017, 6:02 p.m.
Dear Daniel,


Am Sonntag, den 16.07.2017, 12:26 +0200 schrieb Daniel Vetter:
> http: gets a "301 moved permanently" reply.
> 
> Reported-by: Paul Menzel <paulepanter@users.sourceforge.net>
> Cc: Paul Menzel <paulepanter@users.sourceforge.net>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>

Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>


Thanks,

Paul

Patch

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