Show More
@@ -28,6 +28,7 b' import logging' | |||
|
28 | 28 | import urlparse |
|
29 | 29 | |
|
30 | 30 | import rhodecode |
|
31 | from rhodecode.lib import utils | |
|
31 | 32 | from rhodecode.lib import utils2 |
|
32 | 33 | from rhodecode.lib.middleware import simplevcs |
|
33 | 34 | |
@@ -145,9 +146,10 b' class SimpleGit(simplevcs.SimpleVCS):' | |||
|
145 | 146 | extras['git_update_server_info'] = utils2.str2bool( |
|
146 | 147 | rhodecode.CONFIG.get('git_update_server_info')) |
|
147 | 148 | |
|
148 | # TODO(marcink): controll this via DB settings, store and enabled-per | |
|
149 | # repo settings | |
|
149 | config = utils.make_db_config(repo=repo_name) | |
|
150 | custom_store = config.get('vcs_git_lfs', 'store_location') | |
|
150 | 151 | |
|
151 |
extras['git_lfs_enabled'] = |
|
|
152 | extras['git_lfs_store_path'] = default_lfs_store() | |
|
152 | extras['git_lfs_enabled'] = utils2.str2bool( | |
|
153 | config.get('vcs_git_lfs', 'enabled')) | |
|
154 | extras['git_lfs_store_path'] = custom_store or default_lfs_store() | |
|
153 | 155 | return extras |
General Comments 0
You need to be logged in to leave comments.
Login now