GERRIT_FORCE_HISTORY_PROTECTION

The GERRIT_FORCE_HISTORY_PROTECTION token determines whether the history protection feature of the TeamForge Git integration is enabled. If it is set to true, history protection is turned on for all repositories hosted on the Git integration server.

Values

true or false

Default

false

Comments

In TeamForge 7.0 (and later versions), this token is defined in the runtime-option.conf file to support the non-interactive installation of the Git integration. After Gerrit's post-install script is run, the value of this token is used to set the configuration property forceHistoryProtection in the /opt/collabnet/gerrit/etc/gerrit.config file.