summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-notify2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-notify b/git-notify
index 9f6ebab..78bb2b6 100755
--- a/git-notify
+++ b/git-notify
@@ -110,7 +110,7 @@ $branch =~ s#refs/heads/##;
if (defined $repos) {
$branch = "$repos/$branch";
}
-my $message = "$author: ".strftime("%Y-%m-%d %H:%M:%S", gmtime($timestamp))." [$branch]: $logmsg";
+my $message = "[$branch] ".strftime("%Y-%m-%d %H:%M:%S", gmtime($timestamp))." $author: $logmsg";
open (MAIL, "| $sendmail -t -oi -oem") or die "Cannot execute $sendmail : " . ($?>>8);
#open (MAIL, "| /bin/cat") or die ("Cannot cat!\n");