Skip to content

Commit c5d33a9

Browse files
committed
Drop duplicated author information from subject
Now it's in From header too.
1 parent ad8c7eb commit c5d33a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/commit-email.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,7 @@ def make_header(to, from, info)
331331

332332
def make_subject(info)
333333
subject = ''
334-
subject << "#{info.author}:"
335-
subject << " #{info.revision}"
334+
subject << "#{info.revision}"
336335
subject << " (#{info.branch})"
337336
subject << ': '
338337
subject << info.log.lstrip.lines.first.to_s.strip

0 commit comments

Comments
 (0)