[utils/git-notify] Ajout du nom de la branche dans le sujet du mail
Ignore-this: d05b95d518cbe1f207e599bb25da8c23 darcs-hash:20100329215721-ffbb2-f6554e420a4272fac9804b16c2b1662b52feda60.gz
This commit is contained in:
parent
a30198ac9b
commit
53ebed682c
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ sub send_commit_notice($$)
|
||||||
"Date: " . format_date($info{"tagger_date"},$info{"tagger_tz"}),
|
"Date: " . format_date($info{"tagger_date"},$info{"tagger_tz"}),
|
||||||
"",
|
"",
|
||||||
join "\n", @{$info{"log"}};
|
join "\n", @{$info{"log"}};
|
||||||
$subject = "Tag " . $info{"tag"} . " : " . $info{"tagger_name"} . ": " . ${$info{"log"}}[0];
|
$subject = "Git tag ($repos_name/$ref): " . $info{"tag"} . " : " . ${$info{"log"}}[0];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -299,7 +299,7 @@ sub send_commit_notice($$)
|
||||||
push @notice, "Diff: $gitweb_url;a=commitdiff;h=$obj" if $gitweb_url;
|
push @notice, "Diff: $gitweb_url;a=commitdiff;h=$obj" if $gitweb_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
$subject = "Git commit ($repos_name): " . ${$info{"log"}}[0];
|
$subject = "Git commit ($repos_name/$ref): " . ${$info{"log"}}[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
mail_notification($commitlist_address, $subject, "text/plain; charset=UTF-8", @notice);
|
mail_notification($commitlist_address, $subject, "text/plain; charset=UTF-8", @notice);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue