summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rwxr-xr-xv4l/scripts/hghead.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/v4l/scripts/hghead.pl b/v4l/scripts/hghead.pl
index d0f657c08..c495abc8b 100755
--- a/v4l/scripts/hghead.pl
+++ b/v4l/scripts/hghead.pl
@@ -107,9 +107,7 @@ while ($line = <IN>) {
$sub_ok=1;
substr( $subject, 0, 1 ) = uc (substr ($subject, 0, 1));
if ($subject =~ m|V4L\/DVB\s*(.+)|) {
- print "$1\n\n";
- } else {
- print "$subject\n\n";
+ $subject=$1;
}
if ($line =~ m/^\n/) {
next;
@@ -139,5 +137,7 @@ if (!$maint_ok) {
$body=~s/\n+$//;
$body=~s/^\n+$//;
-print "$from\n$body\n\n$signed";
+# First from is used by hg to recognize commiter name
+print "From: $maintainer_name <$maintainer_email>\n";
+print "$subject\n$from\n$body\n\n$signed";