apply-from-gmane: accept permalinks, too
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 12 Jun 2013 20:39:48 +0000 (12 15:39 -0500)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 12 Jun 2013 20:39:48 +0000 (12 15:39 -0500)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
bin/apply-from-gmane.sh

index d40b42c..0b337f2 100755 (executable)
@@ -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