Fix extra space added in beginning of commit message

Removes extra space in merge commit messages. This seems to have been
introduced by the functionality added in 38d8d749d which allows a user
to change a merge commit message.
This commit is contained in:
awiddersheim 2014-02-24 20:53:57 -05:00
parent 504777ec20
commit e800fe0e50
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ module Gitlab
# merge the source branch into the satellite
# will raise CommandFailed when merge fails
repo.git.merge(default_options({no_ff: true}), "-m #{message}", "source/#{merge_request.source_branch}")
repo.git.merge(default_options({no_ff: true}), "-m#{message}", "source/#{merge_request.source_branch}")
rescue Grit::Git::CommandFailed => ex
handle_exception(ex)
end