Permalink
Browse files

Consistently use $branchname

  • Loading branch information...
1 parent 2c83426 commit 87bb796930892711f47b92ea1c15c2f6dbf88173 @sartak committed Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-awesome-status
View
@@ -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";
}

0 comments on commit 87bb796

Please sign in to comment.