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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-08-20 10:04:55 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-08-20 12:50:29 +0300
commitf99c85470021973088f7757e2945bd10cb2773c7 (patch)
tree84f013a5cc5c8da54a913cdf142adbf152577362
parent1c5687f979d34cd4d707cb8b8cbd8b0c895afeb2 (diff)
Stop vendoring unused Version file
Ruby implementation calls each Gitaly server, and requests the required data. This won't work on Gitaly, nor is it used.
-rwxr-xr-x_support/vendor-gitlab-git1
-rw-r--r--ruby/vendor/gitlab_git/lib/gitlab/git/version.rb11
2 files changed, 1 insertions, 11 deletions
diff --git a/_support/vendor-gitlab-git b/_support/vendor-gitlab-git
index 6492226b6..f74a6d0cd 100755
--- a/_support/vendor-gitlab-git
+++ b/_support/vendor-gitlab-git
@@ -32,6 +32,7 @@ EXCLUDE = %w[
lib/gitlab/git/storage.rb
lib/gitlab/git/tag.rb
lib/gitlab/git/tree.rb
+ lib/gitlab/git/version.rb
lib/gitlab/git/wiki.rb
lib/gitlab/git/wiki_file.rb
lib/gitlab/git/wiki_page.rb
diff --git a/ruby/vendor/gitlab_git/lib/gitlab/git/version.rb b/ruby/vendor/gitlab_git/lib/gitlab/git/version.rb
deleted file mode 100644
index 1e14e8b65..000000000
--- a/ruby/vendor/gitlab_git/lib/gitlab/git/version.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-module Gitlab
- module Git
- module Version
- extend Gitlab::Git::Popen
-
- def self.git_version
- Gitlab::VersionInfo.parse(Gitaly::Server.all.first.git_binary_version)
- end
- end
- end
-end