Sanitize commit title when creating revert commit.

This commit is contained in:
Rubén Dávila 2016-03-22 18:01:31 -05:00
parent 37093af6d6
commit f4a361a2a8

View file

@ -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)