summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Taedcke <hacking@taedcke.com>2014-07-01 21:05:29 +0200
committerChristian Taedcke <christian.taedcke@honeywell.com>2014-07-25 08:25:16 +0200
commite59674f9545d36da13c306e223b2cb84e9fcaa48 (patch)
tree2b976808312bd305f762f56f2315a9d2b6b6f3f6 /lib
parent414afd68f3b9c529fa9de9f60bfe86994b1fda81 (diff)
downloadgitlab-ce-e59674f9545d36da13c306e223b2cb84e9fcaa48.tar.gz
Add full commit message to commit api as field message.
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 09fb97abf29..edde4c70fd7 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -102,6 +102,7 @@ module API
class RepoCommit < Grape::Entity
expose :id, :short_id, :title, :author_name, :author_email, :created_at
+ expose :safe_message, as: :message
end
class RepoCommitDetail < RepoCommit