--- jonen/ruby/CVSspam/cvsspam.rb 2003/01/19 01:42:21 1.12 +++ jonen/ruby/CVSspam/cvsspam.rb 2003/01/19 03:57:36 1.14 @@ -746,6 +746,7 @@ if $subjectPrefix == nil $subjectPrefix = "[CVS #{Repository.array.join(',')}]" end + # HACK: put all file names at mail subject all_files = "" $fileEntries.each do |file| @@ -756,8 +757,9 @@ all_files = name end end +all_files = all_files + ":" -mailSubject = "#{$subjectPrefix} #{all_files}: #{$mailSubject}" +mailSubject = "#{$subjectPrefix} #{all_files} #{$mailSubject}" if mailSubject.length > $maxSubjectLength mailSubject = mailSubject[0, $maxSubjectLength] end