summaryrefslogtreecommitdiff
path: root/lib/api/commits.rb
diff options
context:
space:
mode:
authormicael.bergeron <micael.bergeron@solutionstlm.com>2017-09-03 07:45:44 -0400
committermicael.bergeron <micael.bergeron@solutionstlm.com>2017-09-06 09:01:53 -0400
commitbca72f5906ed38dc231ef066231238758c1cb42d (patch)
treedcb5e33639aea203cc824a46ff82aaeb7b7c8b86 /lib/api/commits.rb
parentb97f9629cabadca1125351a8aa514791524dea3f (diff)
downloadgitlab-ce-bca72f5906ed38dc231ef066231238758c1cb42d.tar.gz
wip: fake its a binary diff
Diffstat (limited to 'lib/api/commits.rb')
-rw-r--r--lib/api/commits.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb
index ea78737288a..4b8d248f5f7 100644
--- a/lib/api/commits.rb
+++ b/lib/api/commits.rb
@@ -104,7 +104,7 @@ module API
not_found! 'Commit' unless commit
- commit.raw_diffs.to_a
+ present commit.raw_diffs.to_a, with: Entities::RepoDiff
end
desc "Get a commit's comments" do