Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
5607c57c
Commit
5607c57c
authored
Jun 19, 2018
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gitaly to figure out git version for usage ping
parent
74cecce5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/gitlab/git/version.rb
lib/gitlab/git/version.rb
+1
-1
No files found.
lib/gitlab/git/version.rb
View file @
5607c57c
...
@@ -4,7 +4,7 @@ module Gitlab
...
@@ -4,7 +4,7 @@ module Gitlab
extend
Gitlab
::
Git
::
Popen
extend
Gitlab
::
Git
::
Popen
def
self
.
git_version
def
self
.
git_version
Gitlab
::
VersionInfo
.
parse
(
popen
(
%W(
#{
Gitlab
.
config
.
git
.
bin_path
}
--version)
,
nil
).
first
)
Gitlab
::
VersionInfo
.
parse
(
Gitaly
::
Server
.
all
.
first
.
git_binary_version
)
end
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment