aboutsummaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-11-07 17:27:34 +0100
committerGuido Günther <agx@sigxcpu.org>2015-11-07 17:34:48 +0100
commitf92da491e7bdce8aeac3a167ca38abdd61cdb9bd (patch)
treeccac45ca13915ca836e265c8d921e9bee54e1a5e /index.cgi
parent86c4772ea9b2f93e418329e86ee215c13d5ee5e7 (diff)
Distinguish gitweb and cgit
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.cgi b/index.cgi
index a083166..5af08fd 100755
--- a/index.cgi
+++ b/index.cgi
@@ -75,7 +75,7 @@ def parse_pts_xhtml(pts):
def get_vcsbrowser(vcs, vcs_url):
if vcs == "git":
- return vcsbrowsers.GitWebBrowser(vcs_url)
+ return vcsbrowsers.guess_git_repo(vcs_url)
elif vcs == "Mercurial":
return vcsbrowsers.HgBrowser(vcs_url)