1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Also allow 'gitweb tag elinks-0.11rc0'

This commit is contained in:
Jonas Fonseca 2005-12-30 03:37:56 +01:00 committed by Jonas Fonseca
parent 41f1f5f9d3
commit 73a91e6d8f

View File

@ -58,7 +58,7 @@ function cvsweb (base, project, url)
/* javascript:gitweb("http://pasky.or.cz/gitweb.cgi", "elinks.git", "%s"); */
function gitweb(base, project, url)
{
var parts = url.match(/^(search|summary|shortlog|log|commit|commitdiff|tree)(\s(.*))?/);
var parts = url.match(/^(search|summary|shortlog|log|commit|commitdiff|tree|tag)(\s(.*))?/);
var query = '?p=' + project;
if (parts) {