summaryrefslogtreecommitdiff
path: root/git-notify
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2010-03-10 12:03:50 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2010-03-10 12:03:50 +0000
commit1ea3cf0dc91ab530f624a3a25d6f1da63910ed30 (patch)
tree0a2bacce7bee921ed707b5a201101cdfc3575aac /git-notify
parentf8358073ae4b0ba563c75d9098b6502c79598806 (diff)
Change commit msg format
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@444 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'git-notify')
-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");