Fix git-branch-sumamry expanding * for current branch

master
Jonathan Hodgson 6 years ago
parent e9493578f8
commit 7079dffe6d
  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