[kernel-team] 32/47: Add support for sourceforge git viewer in git-format-patch-for-debian

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:30:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository kernel-team.

commit 33e0b2a34bb39b257f9d39f00796c4070f30c6e6
Author: Ben Hutchings <benh at debian.org>
Date:   Tue Sep 17 01:03:00 2013 +0000

    Add support for sourceforge git viewer in git-format-patch-for-debian
    
    svn path=/people/benh/; revision=20643
---
 scripts/benh/git-format-patch-for-debian | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/benh/git-format-patch-for-debian b/scripts/benh/git-format-patch-for-debian
index 2deb3c8..ed7b175 100755
--- a/scripts/benh/git-format-patch-for-debian
+++ b/scripts/benh/git-format-patch-for-debian
@@ -29,8 +29,11 @@ if [ "x$1" = x--url ]; then
 	https://github.com/*)
 	    export GIT_URL_BASE="$2/commit/"
 	    ;;
+	http://sourceforge.net/p/*)
+	    export GIT_URL_BASE="$2/ci/"
+	    ;;
 	*)
-	    echo >&2 "E: URL '$2' not recognised as gitweb, cgit or github"
+	    echo >&2 "E: URL '$2' not recognised as gitweb, cgit, github or sourceforge"
 	    exit 2
 	    ;;
     esac

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list