add: else if ((parts[1] == 'blob' || parts[1] == 'history' || parts[1] == 'tree') && parts[3]) query += ';f=' + escape(parts[3]); 
context: function gitweb(base, project, url){	var parts = url.match(/^(search|summary|shortlog|log|commit|commitdiff|tree|tag)(\s(.*))?/);	var query = '?p=' + project;	if (parts) {		query += ';a=' + parts[1];		/* If the extra arg is not for searching assume it is an ID. */		if (parts[1] == 'search' && parts[3])			query += ';s=' + escape(parts[3]);		else if (parts[3])			query += ';h=' + escape(parts[3]);	} else {		query += ';a=summary';	}	return base + query;}
meta: 2461	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2461/1082c85bd080a56a15819755ccd60c09d98941ae/smartprefixes_common.js/buggy/contrib/smjs/smartprefixes_common.js