summaryrefslogtreecommitdiff
path: root/dot/local/bin/git-ll-remote
diff options
context:
space:
mode:
Diffstat (limited to 'dot/local/bin/git-ll-remote')
-rwxr-xr-xdot/local/bin/git-ll-remote6
1 files changed, 4 insertions, 2 deletions
diff --git a/dot/local/bin/git-ll-remote b/dot/local/bin/git-ll-remote
index c9beb63..efb6c02 100755
--- a/dot/local/bin/git-ll-remote
+++ b/dot/local/bin/git-ll-remote
@@ -24,6 +24,8 @@ SHOW=ahead
24[ "$OPT_a" ] && SHOW=all 24[ "$OPT_a" ] && SHOW=all
25[ "$OPT_r" ] && SHOW=behind 25[ "$OPT_r" ] && SHOW=behind
26[ "$OPT_u" ] && SHOW=upto 26[ "$OPT_u" ] && SHOW=upto
27QUIET=
28[ "$OPT_q" ] && QUIET=y
27 29
28show_message() 30show_message()
29{ 31{
@@ -153,12 +155,12 @@ handle_hash_ref()
153 155
154 if show_this_remote_branch "$hash" 156 if show_this_remote_branch "$hash"
155 then 157 then
156 if [ ! "$OPT_q" -a "$listed" -eq 0 ] 158 if [ ! "$QUIET" -a "$listed" -eq 0 ]
157 then 159 then
158 show_message 160 show_message
159 fi 161 fi
160 162
161 if [ "$OPT_a" ] 163 if [ "$SHOW" = all ]
162 then 164 then
163 >&2 printf 'remote: %s (%s)\n' "$ref" "$VERDICT" 165 >&2 printf 'remote: %s (%s)\n' "$ref" "$VERDICT"
164 else 166 else