diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-01-12 18:27:33 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-01-12 18:27:33 +0000 |
commit | 3eebca7b5c8af599d4aec6f2b5b4905408079754 (patch) | |
tree | df1e92a264836c19fb70f4d3d454124b9ee8758c /app/models | |
parent | 764fc0dd69b3e064d4b14ce8125fbb6daa98cf7f (diff) | |
parent | 22a34c81aa3801e5b453fd2c0a9364917e0aedbe (diff) | |
download | gitlab-ce-3eebca7b5c8af599d4aec6f2b5b4905408079754.tar.gz |
Merge branch 'use-configured-git' into 'master'
Use configured git rather thans system git
See merge request !8460
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/cycle_analytics/summary.rb | 2 |
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 |