summaryrefslogtreecommitdiff
path: root/dot
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-05-31 12:43:19 -0400
committerAndrew Cady <d@jerkface.net>2020-05-31 13:03:41 -0400
commit06cbbf8020edb60dac8a7ab1bddd4bf830bcfc3a (patch)
tree869795999a8b4edae7a0526dfea415cc40c56986 /dot
parent7474e34062cec498a1c992921cb582c37f1483b3 (diff)
style
Diffstat (limited to 'dot')
-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