add redirect for openbox.org/git/USER/SHA to gitweb commit diff master
authorDana Jansens <danakj@orodu.net>
Fri, 15 Oct 2010 19:23:07 +0000 (15:23 -0400)
committerDana Jansens <danakj@orodu.net>
Fri, 15 Oct 2010 19:23:07 +0000 (15:23 -0400)
.htaccess

index 381dc9edd2317c5843b53be4a658ef6aa13aea18..e4ce62543a94dec42684f9240225f96f3b29b97e 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -29,3 +29,5 @@ RewriteRule ^$ wiki [L]
 # wiki/ shortcut for the old wiki site
 RewriteRule ^wiki/?$ oldwiki/index.php?title=Main_Page [L,QSA]
 RewriteRule ^wiki/(.+)$ oldwiki/index.php?title=$1 [L,QSA]
+
+RedirectMatch temp ^/git/([^/]+/)(.*)$ http://git.openbox.org/?p=$1openbox.git;a=commitdiff;h=$2