From 53ebed682c072d17b956069f10d4ae208219d0c2 Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Mon, 29 Mar 2010 23:57:21 +0200 Subject: [PATCH] [utils/git-notify] Ajout du nom de la branche dans le sujet du mail Ignore-this: d05b95d518cbe1f207e599bb25da8c23 darcs-hash:20100329215721-ffbb2-f6554e420a4272fac9804b16c2b1662b52feda60.gz --- utils/git-notify | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/git-notify b/utils/git-notify index 7ecc4b40..8a478ca8 100755 --- a/utils/git-notify +++ b/utils/git-notify @@ -265,7 +265,7 @@ sub send_commit_notice($$) "Date: " . format_date($info{"tagger_date"},$info{"tagger_tz"}), "", 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 { @@ -299,7 +299,7 @@ sub send_commit_notice($$) 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);