Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 17:08:40 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 17:08:40 +0300
commit2b91abbcedb46a74770c7384544b1239d0e210a5 (patch)
treeff6153c2e6adafb201f36a8f7590e8f02d1a3a4f /doc/install
parent1749bd3b467b151074cd10f1d11c679fb714854b (diff)
Disable git gc --auto
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index e0a16df09c1..f8f7d6a9ebe 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -283,9 +283,13 @@ sudo usermod -aG redis git
# Copy the example Rack attack config
sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers/rack_attack.rb
- # Configure Git global settings for git user, used when editing via web editor
+ # Configure Git global settings for git user
+ # 'autocrlf' is needed for the web editor
sudo -u git -H git config --global core.autocrlf input
+ # Disable 'git gc --auto' because GitLab already runs 'git gc' when needed
+ sudo -u git -H git config --global gc.auto 0
+
# Configure Redis connection settings
sudo -u git -H cp config/resque.yml.example config/resque.yml