Skip to content

Commit

Permalink
Consistently use $branchname
Browse files Browse the repository at this point in the history
  • Loading branch information
sartak committed Jan 31, 2012
1 parent 2c83426 commit 87bb796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-awesome-status
Expand Up @@ -40,7 +40,7 @@ my %code_for = (
$status .= "\e[32m+$lines\e[m";
}

my $reverse = `git rev-list $branch..$branch\@{u} 2>&1`;
my $reverse = `git rev-list $branchname..$branchname\@{u} 2>&1`;
if (my $reverse_lines = $reverse =~ tr/\n/\n/) {
$status .= "\e[31m-$reverse_lines\e[m";
}
Expand Down

0 comments on commit 87bb796

Please sign in to comment.