diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-05 13:46:26 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-05 13:46:26 +0100 |
commit | 22a34c81aa3801e5b453fd2c0a9364917e0aedbe (patch) | |
tree | c7d6cf6f1e799688e6b513ce4dbf36418eefe769 /app/models/cycle_analytics | |
parent | efb8da895fb8d0976f98d0e54e36d9e61dccef89 (diff) | |
download | gitlab-ce-22a34c81aa3801e5b453fd2c0a9364917e0aedbe.tar.gz |
Use configured git rather than system gituse-configured-git
Diffstat (limited to 'app/models/cycle_analytics')
-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 |