fmt-merge-msg: do not add excess newline at the end.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
2b020455f9
commit
a15f43312f
@ -43,6 +43,7 @@ sub current_branch {
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user