[Lxr-general] [PATCH 6/10] Document new backend options for GIT.
Brought to you by:
ajlittoz
From: Jan-Benedict G. <jb...@lu...> - 2006-12-07 10:17:47
|
--- templates/lxr.conf | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/templates/lxr.conf b/templates/lxr.conf index e578e3c..b60de12 100644 --- a/templates/lxr.conf +++ b/templates/lxr.conf @@ -124,9 +124,23 @@ # The name to display for this source tree 'sourcerootname' => 'Example', - - # Any parameters to the source access method should be specified below - 'sourceparams' => {'cachepath' => '/a/path/here'}, + + # + # Any parameters to the source access method should be specified below. + # + # BK: 'cachepath' is used for temporary files + # GIT: if `do_annotations' is non-zero, the file revision that + # introduced each line is displayed. + # `do_blame' will add the author of each line to the + # output. Keep in mind that the core LXR code + # will only request author information if + # annotations are switched on, too! + # + 'sourceparams' => { + 'cachepath' => '/a/path/here', + 'do_annotate' => 1, + 'do_blame' => 1, + }, # The DBI identifier for the database to use # For mysql, the format is dbi:mysql:dbname=<name> -- 1.4.4.1 |