Merge "Fix for CGit links"
This commit is contained in:
@@ -36,10 +36,10 @@ public class GitWebType {
|
|||||||
} else if (name.equalsIgnoreCase("cgit")) {
|
} else if (name.equalsIgnoreCase("cgit")) {
|
||||||
type = new GitWebType();
|
type = new GitWebType();
|
||||||
type.setLinkName("cgit");
|
type.setLinkName("cgit");
|
||||||
type.setProject("${project}/summary");
|
type.setProject("${project}.git/summary");
|
||||||
type.setRevision("${project}/commit/?id=${commit}");
|
type.setRevision("${project}.git/commit/?id=${commit}");
|
||||||
type.setBranch("${project}/log/?h=${branch}");
|
type.setBranch("${project}.git/log/?h=${branch}");
|
||||||
type.setFileHistory("${project}/log/${file}?h=${branch}");
|
type.setFileHistory("${project}.git/log/${file}?h=${branch}");
|
||||||
|
|
||||||
} else if (name.equalsIgnoreCase("custom")) {
|
} else if (name.equalsIgnoreCase("custom")) {
|
||||||
type = new GitWebType();
|
type = new GitWebType();
|
||||||
|
|||||||
Reference in New Issue
Block a user