diff options
author | Peter Leitzen <pl@neopoly.de> | 2018-08-10 20:13:52 +0300 |
---|---|---|
committer | Peter Leitzen <pl@neopoly.de> | 2018-08-10 20:13:52 +0300 |
commit | 7b87c75c1235732716455cad016c848c6930f03e (patch) | |
tree | a855fa4643c78f2b70127831648e3e7fc9207494 /app/services | |
parent | 7fe85c1d42e89e91e619dcbe9ac945a9223ec72b (diff) |
Tag message is frozen so avoid stripping destructively
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/tags/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/tags/create_service.rb b/app/services/tags/create_service.rb index 329722df747..35390f5082c 100644 --- a/app/services/tags/create_service.rb +++ b/app/services/tags/create_service.rb @@ -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 |