Sanitize commit title when creating revert commit.
This commit is contained in:
parent
37093af6d6
commit
f4a361a2a8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue