summaryrefslogtreecommitdiff
path: root/dot/local/bin/git-ll-remote
blob: 4052a41961ad58571afb0b7ca45ac35506a75fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

remote=${1:-origin}

git ls-remote $remote |

  while read hash ref; do
    case $ref in refs/namespaces/*)
      git fetch $remote $ref;
      git show $hash |  sed '/^$/q';;
    esac
  done