|
42 | 42 | # through project, it's good to have Verbose |
43 | 43 | # Mode enabled too, cost of this is one more |
44 | 44 | # traversal of the project before indexing it(*) |
45 | | -# - OPENGROK_REMOTE_REPOS Influence history cache generation for remote |
46 | | -# repositories. Following values are recognized: |
47 | | -# on - enabled (default) |
48 | | -# off - disabled for indexing and UI |
49 | | -# dirbased - indexing enabled only for repos |
50 | | -# which can fetch history for |
51 | | -# directory |
52 | | -# uionly - enabled for UI only |
| 45 | +# - OPENGROK_GENERATE_HISTORY Influence history cache generation |
| 46 | +# Following values are recognized: |
| 47 | +# on - enabled (default) |
| 48 | +# off - disabled for indexing and UI |
| 49 | +# dirbased - indexing enabled only for repos |
| 50 | +# which can fetch history for |
| 51 | +# directory |
| 52 | +# local - for local repos only |
| 53 | +# uionly - enabled for UI only |
53 | 54 | # - OPENGROK_SCAN_REPOS Disable Scan for repositories (*) |
54 | 55 | # - OPENGROK_SCAN_DEPTH how deep should scanning for repos go |
55 | 56 | # (by default 3 directories from SRC_ROOT) |
@@ -254,10 +255,10 @@ DefaultInstanceConfiguration() |
254 | 255 | fi |
255 | 256 |
|
256 | 257 | # OPTIONAL: Disable remote repository support (CVS or SVN) [on by default] |
257 | | - REMOTE_REPOSITORIES="-r on" |
258 | | - if [ -n "${OPENGROK_REMOTE_REPOS}" ] |
| 258 | + GENERATE_HISTORY="-r on" |
| 259 | + if [ -n "${OPENGROK_GENERATE_HISTORY}" ] |
259 | 260 | then |
260 | | - REMOTE_REPOSITORIES="-r ${OPENGROK_REMOTE_REPOS}" |
| 261 | + GENERATE_HISTORY="-r ${OPENGROK_GENERATE_HISTORY}" |
261 | 262 | fi |
262 | 263 |
|
263 | 264 | # OPTIONAL: override depth of scanning for repositories |
@@ -797,7 +798,7 @@ CommonInvocation() |
797 | 798 | ${IGNORE_PATTERNS} \ |
798 | 799 | ${DERBY_OPTIONS} \ |
799 | 800 | ${HISTORY_TAGS} \ |
800 | | - ${REMOTE_REPOSITORIES} \ |
| 801 | + ${GENERATE_HISTORY} \ |
801 | 802 | ${SCAN_DEPTH} \ |
802 | 803 | ${VERBOSE} ${QUIET} \ |
803 | 804 | ${PROGRESS} \ |
|
0 commit comments