X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bin%2Fgit-rb-all;h=e20c83aca54e70591abb39d73ecae48bfff9ac2b;hb=86bc09eb6d303ca3a4d8b439b6522cab0156c670;hp=b4efb482a1887f558fffdf1f5634be4d68a3f06b;hpb=f33e57fb6cc153b852a3db383a90a0759fe3cd9e;p=home.git diff --git a/.bin/git-rb-all b/.bin/git-rb-all index b4efb48..e20c83a 100755 --- a/.bin/git-rb-all +++ b/.bin/git-rb-all @@ -31,7 +31,7 @@ main() { local orig b branches orig=$(git rev-parse --abbrev-ref HEAD) || return - branches=( $(git ls-remote . 'heads/*' | sed 's:.*refs/heads/::') ) + branches=( $(git ls-remote --heads . | sed 's:.*refs/heads/::') ) for b in "${branches[@]}" ; do rb_one "${b}" done