[kernel-team] 38/47: git-format-patch-for-debian: Add support for git.infradead.org gitweb URLs

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:30:51 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 57fb6fcc8c26b7b6cffc32e122ce47660f5dbb66
Author: Ben Hutchings <benh at debian.org>
Date:   Fri Oct 31 01:43:02 2014 +0000

    git-format-patch-for-debian: Add support for git.infradead.org gitweb URLs
    
    svn path=/people/benh/; revision=21992
---
 scripts/benh/git-format-patch-for-debian | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/benh/git-format-patch-for-debian b/scripts/benh/git-format-patch-for-debian
index ed7b175..339d6ce 100755
--- a/scripts/benh/git-format-patch-for-debian
+++ b/scripts/benh/git-format-patch-for-debian
@@ -32,6 +32,10 @@ if [ "x$1" = x--url ]; then
 	http://sourceforge.net/p/*)
 	    export GIT_URL_BASE="$2/ci/"
 	    ;;
+	http://git.infradead.org/*.git)
+	    # Ugh. This is gitweb but the URL structure is different.
+	    export GIT_URL_BASE="$2/commit/"
+	    ;;
 	*)
 	    echo >&2 "E: URL '$2' not recognised as gitweb, cgit, github or sourceforge"
 	    exit 2

-- 
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