summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0a8706b)
Use `git for-each-ref` instead of `git branch -r | sed`.
fi
if [ "${#branches[*]}" -eq 0 ]; then
fi
if [ "${#branches[*]}" -eq 0 ]; then
- branches=(`git branch --points-at=HEAD -r | sed 's!^ *origin/!!'`)
+ branches=(`git for-each-ref --format="%(refname:lstrip=3)" --points-at=HEAD refs/remotes | sort -u`)
fi
if [ "${#branches[*]}" -eq 0 ]; then
fi
if [ "${#branches[*]}" -eq 0 ]; then