Fix git-branch-sumamry expanding * for current branch

Jonathan Hodgson 6 years ago
parent ecb0645461
commit 50c8839856
  1. 2
      bin/git/git-branch-summary

@ -5,7 +5,7 @@
mainBranch="${1-master}" mainBranch="${1-master}"
for branch in $(git branch -a); do for branch in $(git branch -a --format "%(refname:short)"); do
if [ "$branch" = "$mainBranch" ]; then if [ "$branch" = "$mainBranch" ]; then
continue; continue;

Loading…
Cancel
Save