lib/heirloom/archive/builder.rb in heirloom-0.7.0 vs lib/heirloom/archive/builder.rb in heirloom-0.7.1
- old
+ new
@@ -50,10 +50,10 @@
end
def add_git_commit_to_artifact_record(commit)
attributes = { 'sha' => @id,
'abbreviated_sha' => commit.id_abbrev,
- 'message' => commit.message.gsub("\n"," "),
+ 'message' => commit.message.gsub("\n"," ")[0..1023],
'author' => commit.author.name }
attributes.each_pair do |k, v|
@logger.info "Git #{k}: #{v}"
end