Tag message is frozen so avoid stripping destructively

This commit is contained in:
Peter Leitzen 2018-08-10 19:13:52 +02:00
parent 7fe85c1d42
commit 7b87c75c12

View file

@ -7,7 +7,7 @@ module Tags
return error('Tag name invalid') unless valid_tag
repository = project.repository
message&.strip!
message = message&.strip
new_tag = nil