Commit f4a361a2 authored by Rubén Dávila's avatar Rubén Dávila

Sanitize commit title when creating revert commit.

parent 37093af6
...@@ -230,7 +230,7 @@ class Commit ...@@ -230,7 +230,7 @@ class Commit
end end
def revert_message def revert_message
%Q{Revert "#{title}"\n\n#{revert_description}} %Q{Revert "#{title.strip}"\n\n#{revert_description}}
end end
def reverts_commit?(commit) 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