Peter Krefting <peter@xxxxxxxxxxxxxxxx> writes: > + while (<MSG>) > + { > + if (/^Committer:\s+([^<>]*)\s+<(.*)>\s*$/i) > + { > + $this_committer_name = $1; > + $this_committer_email = $2; > + } > + elsif (/^Author:\s+([^<>]*)\s+<(.*)>\s*$/i) > + { > + $this_author_name = $1; > + $this_author_email = $2; > + } > + else > + { > + $commit_msg .= $_; > + } Do you really want to slurp Committer:/Author: lines from _anywhere_ in the file? Wouldn't it make more sense to vaguely emulate e-mail message format with headers, empty-line and then body that is free form? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html