GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit ac606a67 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '56237-api-truncated-commit-title' into 'master'

API: Expose full commit title

Closes #56237

See merge request gitlab-org/gitlab-ce!25189
parents c5e57aa8 314c99e3
title: 'API: Expose full commit title'
merge_request: 25189
author: Robert Schilling
type: fixed
......@@ -369,8 +369,9 @@ class DiffRefs < Grape::Entity
class Commit < Grape::Entity
expose :id, :short_id, :title, :created_at
expose :id, :short_id, :created_at
expose :parent_ids
expose :full_title, as: :title
expose :safe_message, as: :message
expose :author_name, :author_email, :authored_date
expose :committer_name, :committer_email, :committed_date
......@@ -237,7 +237,7 @@
describe 'create' do
let(:message) { 'Created file' }
let(:message) { 'Created a new file with a very very looooooooooooooooooooooooooooooooooooooooooooooong commit message' }
let(:invalid_c_params) do
branch: 'master',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment