[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/update-script._irkerhook.py_: append .git to repository for gitweb URL.

git-admin at x2go.org git-admin at x2go.org
Thu Mar 26 12:06:48 CET 2015


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

x2go pushed a commit to branch master
in repository maintenancescripts.

commit 846656bb6e5c17a41aa55a80bd21c1b3b25cc5d0
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Mar 26 12:06:39 2015 +0100

    git/hooks/update-script._irkerhook.py_: append .git to repository for gitweb URL.
---
 git/hooks/update-script._irkerhook.py_ |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git/hooks/update-script._irkerhook.py_ b/git/hooks/update-script._irkerhook.py_
index bfd8283..bad7e0a 100755
--- a/git/hooks/update-script._irkerhook.py_
+++ b/git/hooks/update-script._irkerhook.py_
@@ -26,7 +26,7 @@ default_tinyifier = "http://tinyurl.com/api-create.php?url="
 # Map magic urlprefix values to actual URL prefixes.
 urlprefixmap = {
     "viewcvs": "http://%(host)s/viewcvs/%(repo)s?view=revision&revision=",
-    "gitweb": "http://%(host)s/gitweb?p=%(repo)s;a=commit;h=",
+    "gitweb": "http://%(host)s/gitweb?p=%(repo)s.git;a=commit;h=",
     "cgit": "http://%(host)s/cgi-bin/cgit.cgi/%(repo)s/commit/?id=",
     }
 

--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list