From 9c00caff1dab3c723e8d88c7cea9707290cc782d Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 14 Jan 2010 10:28:24 +0100 Subject: [PATCH] Add a script to download and apply patches directly from GMane This script was used to download (whitespace-fix) and apply the recent patch to add the NO_FSTAB_THREAD handling. Signed-off-by: Johannes Schindelin --- bin/apply-from-gmane.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bin/apply-from-gmane.sh diff --git a/bin/apply-from-gmane.sh b/bin/apply-from-gmane.sh new file mode 100644 index 00000000..ca1de564 --- /dev/null +++ b/bin/apply-from-gmane.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +URL="$1" + +case "$URL" in +http://*|article.gmane.org*) ;; +*) URL=http://article.gmane.org/gmane.comp.version-control.msysgit/$1;; +esac + +case "$URL" in +*/raw) ;; +*) URL=$URL/raw;; +esac + +curl $URL | git am --whitespace=fix -s -- 2.11.4.GIT