diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-16 08:58:18 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-16 08:58:18 -0800 |
commit | db77a6120745364036512c31b93428cd0714b884 (patch) | |
tree | 5790bd7b1ee542641ae3a44dd7e902cf07298639 /lib/gitlab_config.rb | |
parent | 487b1bf271907e04701fd8a750d194a5b06eb4c0 (diff) | |
download | gitlab-shell-db77a6120745364036512c31b93428cd0714b884.tar.gz |
Add config option to disable git-annex
Diffstat (limited to 'lib/gitlab_config.rb')
-rw-r--r-- | lib/gitlab_config.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab_config.rb b/lib/gitlab_config.rb index c97743b..422898d 100644 --- a/lib/gitlab_config.rb +++ b/lib/gitlab_config.rb @@ -47,6 +47,10 @@ class GitlabConfig @config['audit_usernames'] ||= false end + def git_annex_enabled? + @config['git_annex_enabled'] ||= true + end + # Build redis command to write update event in gitlab queue def redis_command if redis.empty? |