summaryrefslogtreecommitdiff
path: root/src/git-ll-remote
diff options
context:
space:
mode:
Diffstat (limited to 'src/git-ll-remote')
-rwxr-xr-xsrc/git-ll-remote12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/git-ll-remote b/src/git-ll-remote
new file mode 100755
index 0000000..4052a41
--- /dev/null
+++ b/src/git-ll-remote
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3remote=${1:-origin}
4
5git 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