summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-05-05 14:51:41 -0400
committerAndrew Cady <d@jerkface.net>2020-05-05 14:51:41 -0400
commitfd4246e5df01fd75fd416cbdeb0ae7072d2112de (patch)
tree689a3ab1249dc4c1164f9ebe02cd01be9f2d99de
parentf03adf82f0893630f8e4340435e274ac6413b625 (diff)
git-ll-remote
-rwxr-xr-xdot/local/bin/git-ll-remote12
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
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