--- jonen/ruby/CVSspam/cvsspam.rb 2003/01/18 23:50:37 1.2 +++ jonen/ruby/CVSspam/cvsspam.rb 2003/01/18 23:54:58 1.4 @@ -3,6 +3,8 @@ # collect_diffs.rb expects to find this script in the same directory as it # + + # TODO: exemplify syntax for 'cvs admin -m' when log message is missing # TODO: make max-line limit on diff output configurable # TODO: put max size limit on whole email @@ -745,7 +747,7 @@ $subjectPrefix = "[CVS #{Repository.array.join(',')}]" end $fileEntries.each do |file| - unless file.repository == last_repository + unless file.repository == $subjectPrefix last_repository = file.repository file = #{htmlEncode(last_repository.common_prefix)} all_files = all_files + " " + file