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
path: root/lib
diff options
context:
space:
mode:
authorKim Carlbäcker <kim.carlbacker@gmail.com>2018-05-04 14:27:08 +0300
committerKim Carlbäcker <kim.carlbacker@gmail.com>2018-05-04 14:27:08 +0300
commit8cbabe43be4def12b2bbfdd02f66137cbd2a4851 (patch)
treea6c2e333e629ca314edf0dae14795fa5cbc82070 /lib
parent3fe555a751274538390b3f61b2cc5ff576d62785 (diff)
Update repository.rb
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/git/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 2ec720a93b9..60ce8cfc195 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -1679,7 +1679,7 @@ module Gitlab
def fresh_worktree?(path)
File.exist?(path) && !clean_stuck_worktree(path)
end
-
+
# This function is duplicated in Gitaly-Go, don't change it!
# https://gitlab.com/gitlab-org/gitaly/merge_requests/698
def clean_stuck_worktree(path)