diff options
author | Sean McGivern <sean@gitlab.com> | 2016-07-06 17:51:02 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-07-08 13:53:17 +0100 |
commit | 6a46926f88d504778ae49f7824d2b1284a1c62ff (patch) | |
tree | ec79d6f1cf39ea41a5225e9b0d6231c8f5b3db87 /app/services | |
parent | 4add7f65bc925fac3f6380f896fb2eccd236b2f7 (diff) | |
download | gitlab-ce-6a46926f88d504778ae49f7824d2b1284a1c62ff.tar.gz |
Remove unused argument to CompareService#execute
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/compare_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/compare_service.rb b/app/services/compare_service.rb index e2bccbdbcc3..149822aa647 100644 --- a/app/services/compare_service.rb +++ b/app/services/compare_service.rb @@ -3,7 +3,7 @@ require 'securerandom' # Compare 2 branches for one repo or between repositories # and return Gitlab::Git::Compare object that responds to commits and diffs class CompareService - def execute(source_project, source_branch, target_project, target_branch, diff_options = {}) + def execute(source_project, source_branch, target_project, target_branch) source_commit = source_project.commit(source_branch) return unless source_commit |