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:
authorDouwe Maan <douwe@gitlab.com>2017-10-05 18:01:52 +0300
committerDouwe Maan <douwe@gitlab.com>2017-10-05 18:01:52 +0300
commitcd60a02ad94088ae1444ac9a8b355b4d05fc30a3 (patch)
tree630cb144211ad5663fd35751c53b5c54823279f4 /app/models
parente3e1ced743162f0658f2bee7a34555ccb3a37ba7 (diff)
parentf879c58706305600fc894e9e2ce8b972c0da1d87 (diff)
Merge branch 'zj-gitaly-namespace-service' into 'master'
Gitaly namespace service enabled for GitLab See merge request gitlab-org/gitlab-ce!14274
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 59b5a5b3cd7..5f80195028a 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -1034,6 +1034,8 @@ class Project < ActiveRecord::Base
end
true
+ rescue GRPC::Internal # if the path is too long
+ false
end
def create_repository(force: false)