summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b02045)
raw | patch | inline | side by side (parent: 2b02045)
author | Junio C Hamano <junkio@cox.net> | |
Mon, 20 Feb 2006 05:14:56 +0000 (21:14 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 20 Feb 2006 05:14:56 +0000 (21:14 -0800) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fmt-merge-msg.perl | patch | blob | history |
diff --git a/git-fmt-merge-msg.perl b/git-fmt-merge-msg.perl
index 616bb521cb2171b8e8e5066a8c022a9317e10d38..c34ddc5d5ec1b14ceb80fd699ad6b7c96e3f6b4c 100755 (executable)
--- a/git-fmt-merge-msg.perl
+++ b/git-fmt-merge-msg.perl
my $fh;
open $fh, '-|', 'git-symbolic-ref', 'HEAD' or die "$!";
my ($bra) = <$fh>;
+ chomp($bra);
$bra =~ s|^refs/heads/||;
if ($bra ne 'master') {
$bra = " into $bra";