Commit 0e85a8b8 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'issue_14453' into 'master'

Strip commit title when creating revert commit.

Fixes #14453 

See merge request !3352
parents 1f5d5af4 f4a361a2
......@@ -230,7 +230,7 @@ class Commit
end
def revert_message
%Q{Revert "#{title}"\n\n#{revert_description}}
%Q{Revert "#{title.strip}"\n\n#{revert_description}}
end
def reverts_commit?(commit)
......
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