OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd1259
)
Config setting should be used in git version check.
author
Sato Hiroyuki
<sathiroyuki@gmail.com>
Tue, 14 May 2013 10:55:08 +0000
(19:55 +0900)
committer
Sato Hiroyuki
<sathiroyuki@gmail.com>
Tue, 14 May 2013 10:55:08 +0000
(19:55 +0900)
lib/tasks/gitlab/check.rake
patch
|
blob
|
history
diff --git
a/lib/tasks/gitlab/check.rake
b/lib/tasks/gitlab/check.rake
index
4a2789b
..
77f5c02
100644
(file)
--- a/
lib/tasks/gitlab/check.rake
+++ b/
lib/tasks/gitlab/check.rake
@@
-668,8
+668,9
@@
namespace :gitlab do
def check_git_version
required_version = Gitlab::VersionInfo.new(1, 7, 10)
- current_version = Gitlab::VersionInfo.parse(run("
git
--version"))
+ current_version = Gitlab::VersionInfo.parse(run("
#{Gitlab.config.git.bin_path}
--version"))
+ puts "Your git bin path is \"#{Gitlab.config.git.bin_path}\""
print "Git version >= #{required_version} ? ... "
if required_version <= current_version