Configure whether to allow user to select preserve
In some cases, it could be desirable to prevent users from choosing the
"Preserve git repository" option when deleting a project. For example,
when the administrators have choose to archive a repository instead of
deleting it and the preserve option is selected, the repository will be
present twice on the file system.
Add a new configuration, enablePreserveOption, to control whether to
enable the preserve option on the UI and the ssh command.
In order to keep the current behaviour, the default value of this option
is set to true. If this configuration is set to be false, the deleted
git repository will not be preserved.
Change-Id: I2028c0dbe126a56d4b71f44742bd5fc734465631
6 files changed