Include roottree and file in the GitWebConfig.
Change-Id: Ia33da71d36346a13b0993fef87cd86de3ffdc560
This commit is contained in:
@@ -245,6 +245,8 @@ $ git config -f $site_path/etc/gerrit.config gitweb.type custom
|
||||
$ git config -f $site_path/etc/gerrit.config gitweb.project ?p=\${project}\;a=summary
|
||||
$ git config -f $site_path/etc/gerrit.config gitweb.revision ?p=\${project}\;a=commit\;h=\${commit}
|
||||
$ git config -f $site_path/etc/gerrit.config gitweb.branch ?p=\${project}\;a=shortlog\;h=\${branch}
|
||||
$ git config -f $site_path/etc/gerrit.config gitweb.roottree ?p=\${project}\;a=tree\;hb=\${commit}
|
||||
$ git config -f $site_path/etc/gerrit.config gitweb.file ?p=\${project}\;hb=\${commit}\;f=\${file}
|
||||
$ git config -f $site_path/etc/gerrit.config gitweb.filehistory ?p=\${project}\;a=history\;hb=\${branch}\;f=\${file}
|
||||
----
|
||||
|
||||
@@ -252,8 +254,9 @@ After updating `'$site_path'/etc/gerrit.config`, the Gerrit server must
|
||||
be restarted and clients must reload the host page to see the change.
|
||||
|
||||
Note that when using a custom gitweb configuration, values must be
|
||||
specified for all of the `project`, `revision`, `branch` and `filehistory`
|
||||
settings, otherwise the configuration will not be used.
|
||||
specified for all of the `project`, `revision`, `branch`, `roottree`,
|
||||
`file`, and `filehistory` settings, otherwise the configuration will
|
||||
not be used.
|
||||
|
||||
Access Control
|
||||
++++++++++++++
|
||||
|
||||
Reference in New Issue
Block a user