git: remove GIT_REV_FILTER argument as it's now obsolete with libgit2 implementation
This commit is contained in:
parent
7bc1158488
commit
f36492a220
7 changed files with 0 additions and 18 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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']
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue