Skip to content

Commit

Permalink
Merge branch 'jc/merge-msg' into next
Browse files Browse the repository at this point in the history
* jc/merge-msg:
  fmt-merge-msg: do not add excess newline at the end.
  • Loading branch information
Junio C Hamano committed Feb 20, 2006
2 parents 0d27c3f + a15f433 commit 2e12a08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-fmt-merge-msg.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 2e12a08

Please sign in to comment.