From: Johannes Schindelin Date: Wed, 12 Jun 2013 20:39:48 +0000 (-0500) Subject: apply-from-gmane: accept permalinks, too X-Git-Url: https://repo.or.cz/w/msysgit.git/commitdiff_plain/7aea7c12a4991983572669fef6d973d854e1e6c8 apply-from-gmane: accept permalinks, too Signed-off-by: Johannes Schindelin --- diff --git a/bin/apply-from-gmane.sh b/bin/apply-from-gmane.sh index d40b42c4..0b337f2f 100755 --- a/bin/apply-from-gmane.sh +++ b/bin/apply-from-gmane.sh @@ -8,6 +8,7 @@ http://mid.gmane.org*) curl -D $TMP "$URL" > /dev/null URL=$(sed -n 's/^Location: //p' < $TMP | tr -d '\r\n');; http://thread.*) URL=http://article.${URL#http://thread.};; +http://permalink.gmane.org*) URL=http://article.${URL#http://permalink.};; http://*|article.gmane.org*) ;; *@*) TMP=.git/apply.tmp