diff options
Diffstat (limited to 'dot/local')
-rwxr-xr-x | dot/local/bin/git-ll-remote | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dot/local/bin/git-ll-remote b/dot/local/bin/git-ll-remote new file mode 100755 index 0000000..4052a41 --- /dev/null +++ b/dot/local/bin/git-ll-remote | |||
@@ -0,0 +1,12 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | remote=${1:-origin} | ||
4 | |||
5 | git ls-remote $remote | | ||
6 | |||
7 | while read hash ref; do | ||
8 | case $ref in refs/namespaces/*) | ||
9 | git fetch $remote $ref; | ||
10 | git show $hash | sed '/^$/q';; | ||
11 | esac | ||
12 | done | ||