From: Rudolf Polzer Date: Fri, 22 Apr 2011 06:22:30 +0000 (+0200) Subject: make reject/unreject/unmerge commit messages nicer X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdiv0-gittools.git;a=commitdiff_plain;h=5e3c3119abce34962eeefcc80c1aeade2eed3008 make reject/unreject/unmerge commit messages nicer --- diff --git a/git-branch-manager b/git-branch-manager index 5e771cc..78a6d06 100755 --- a/git-branch-manager +++ b/git-branch-manager @@ -137,7 +137,7 @@ sub reject_commit($) } open my $fh, '>', '.commitmsg' or die ">.commitmsg: $!"; - print $fh "REJECT\n$cmsg" . "::stable-branch::reject=$r\n" + print $fh "REJECT! $cmsg" . "::stable-branch::reject=$r\n" or die ">.commitmsg: $!"; close $fh or die ">.commitmsg: $!"; @@ -183,7 +183,7 @@ sub unreject_commit($) } open my $fh, '>', '.commitmsg' or die ">.commitmsg: $!"; - print $fh "UNREJECT\n$cmsg" . "::stable-branch::unreject=$r\n" + print $fh "UNREJECT! $cmsg" . "::stable-branch::unreject=$r\n" or die ">.commitmsg: $!"; close $fh or die ">.commitmsg: $!"; @@ -281,7 +281,7 @@ sub unmerge_commit($) } open my $fh, '>', '.commitmsg' or die ">.commitmsg: $!"; - print $fh "UNMERGE\n$cmsg" . "::stable-branch::unmerge=$r\n" + print $fh "UNMERGE! $cmsg" . "::stable-branch::unmerge=$r\n" or die ">.commitmsg: $!"; close $fh or die ">.commitmsg: $!";