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/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-01-12 21:27:33 +0300
committerDouwe Maan <douwe@gitlab.com>2017-01-12 21:27:33 +0300
commit3eebca7b5c8af599d4aec6f2b5b4905408079754 (patch)
treedf1e92a264836c19fb70f4d3d454124b9ee8758c /app
parent764fc0dd69b3e064d4b14ce8125fbb6daa98cf7f (diff)
parent22a34c81aa3801e5b453fd2c0a9364917e0aedbe (diff)
Merge branch 'use-configured-git' into 'master'
Use configured git rather thans system git See merge request !8460
Diffstat (limited to 'app')
-rw-r--r--app/models/cycle_analytics/summary.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/cycle_analytics/summary.rb b/app/models/cycle_analytics/summary.rb
index 82f53d17ddd..c9910d8cd09 100644
--- a/app/models/cycle_analytics/summary.rb
+++ b/app/models/cycle_analytics/summary.rb
@@ -31,7 +31,7 @@ class CycleAnalytics
repository = @project.repository.raw_repository
sha = @project.repository.commit(ref).sha
- cmd = %W(git --git-dir=#{repository.path} log)
+ cmd = %W(#{Gitlab.config.git.bin_path} --git-dir=#{repository.path} log)
cmd << '--format=%H'
cmd << "--after=#{@from.iso8601}"
cmd << sha