git: remove GIT_REV_FILTER argument as it's now obsolete with libgit2 implementation

This commit is contained in:
Daniel Dourvaris 2019-09-03 16:51:07 +02:00
parent 7bc1158488
commit f36492a220
7 changed files with 0 additions and 18 deletions

View file

@ -186,10 +186,6 @@ force_https = false
## use Strict-Transport-Security headers
use_htsts = false
## git rev filter option, --all is the default filter, if you need to
## hide all refs in changelog switch this to --branches --tags
git_rev_filter = --branches --tags
# Set to true if your repos are exposed using the dumb protocol
git_update_server_info = false

View file

@ -161,10 +161,6 @@ force_https = false
## use Strict-Transport-Security headers
use_htsts = false
## git rev filter option, --all is the default filter, if you need to
## hide all refs in changelog switch this to --branches --tags
git_rev_filter = --branches --tags
# Set to true if your repos are exposed using the dumb protocol
git_update_server_info = false

View file

@ -572,7 +572,6 @@ def _sanitize_vcs_settings(settings):
settings.
"""
_string_setting(settings, 'vcs.svn.compatible_version', '')
_string_setting(settings, 'git_rev_filter', '--all')
_string_setting(settings, 'vcs.hooks.protocol', 'http')
_string_setting(settings, 'vcs.hooks.host', '127.0.0.1')
_string_setting(settings, 'vcs.scm_app_implementation', 'http')

View file

@ -41,7 +41,6 @@ def configure_vcs(config):
conf.settings.HOOKS_PROTOCOL = config['vcs.hooks.protocol']
conf.settings.HOOKS_HOST = config['vcs.hooks.host']
conf.settings.HOOKS_DIRECT_CALLS = config['vcs.hooks.direct_calls']
conf.settings.GIT_REV_FILTER = shlex.split(config['git_rev_filter'])
conf.settings.DEFAULT_ENCODINGS = config['default_encoding']
conf.settings.ALIASES[:] = config['vcs.backends']
conf.settings.SVN_COMPATIBLE_VERSION = config['vcs.svn.compatible_version']

View file

@ -25,9 +25,6 @@ Internal settings for vcs-lib
# list of default encoding used in safe_unicode/safe_str methods
DEFAULT_ENCODINGS = ['utf8']
# Optional arguments to rev-filter, it has to be a list
# It can also be ['--branches', '--tags']
GIT_REV_FILTER = ['--all']
# Compatibility version when creating SVN repositories. None means newest.
# Other available options are: pre-1.4-compatible, pre-1.5-compatible,

View file

@ -115,7 +115,6 @@ class TestSanitizeVcsSettings(object):
_string_settings = [
('vcs.svn.compatible_version', ''),
('git_rev_filter', '--all'),
('vcs.hooks.protocol', 'http'),
('vcs.hooks.host', '127.0.0.1'),
('vcs.scm_app_implementation', 'http'),

View file

@ -145,10 +145,6 @@ force_https = false
## use Strict-Transport-Security headers
use_htsts = false
## git rev filter option, --all is the default filter, if you need to
## hide all refs in changelog switch this to --branches --tags
git_rev_filter = --all
# Set to true if your repos are exposed using the dumb protocol
git_update_server_info = false