private void initGitWebConfig()

in src/main/java/com/googlesource/gerrit/plugins/gitblit/GitBlitInitStep.java [60:71]


  private void initGitWebConfig() {
    Section gitWeb = sections.get("gitweb", null);
    gitWeb.set("type", "custom");
    gitWeb.set("url", "plugins/" + pluginName + '/');
    gitWeb.set("project", "summary/?r=${project}");
    gitWeb.set("revision", "commit/?r=${project}&h=${commit}");
    gitWeb.set("branch", "log/?r=${project}&h=${branch}");
    gitWeb.set("filehistory", "history/?f=${file}&r=${project}&h=${branch}");
    gitWeb.set("file", "blob/?r=${project}&h=${commit}&f=${file}");
    gitWeb.set("roottree", "tree/?r=${project}&h=${commit}");
    gitWeb.string("Link name", "linkname", "GitBlit");
  }