[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:
Nicolas Dandrimont 2010-03-29 23:57:21 +02:00
parent a30198ac9b
commit 53ebed682c

View file

@ -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);