diff options
Diffstat (limited to 'dot/local/bin/git-ll-remote')
-rwxr-xr-x | dot/local/bin/git-ll-remote | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dot/local/bin/git-ll-remote b/dot/local/bin/git-ll-remote index efb6c02..f7955d2 100755 --- a/dot/local/bin/git-ll-remote +++ b/dot/local/bin/git-ll-remote | |||
@@ -26,6 +26,8 @@ SHOW=ahead | |||
26 | [ "$OPT_u" ] && SHOW=upto | 26 | [ "$OPT_u" ] && SHOW=upto |
27 | QUIET= | 27 | QUIET= |
28 | [ "$OPT_q" ] && QUIET=y | 28 | [ "$OPT_q" ] && QUIET=y |
29 | [ "$OPT_n" ] && NS_ONLY=y | ||
30 | [ "$OPT_N" ] && NS_ONLY= | ||
29 | 31 | ||
30 | show_message() | 32 | show_message() |
31 | { | 33 | { |
@@ -178,6 +180,10 @@ read_hashes() | |||
178 | { | 180 | { |
179 | while read hash ref; do | 181 | while read hash ref; do |
180 | [ "$hash" != From ] || continue | 182 | [ "$hash" != From ] || continue |
183 | case "$ref" in | ||
184 | refs/namespaces/*) ;; | ||
185 | *) [ ! "$NS_ONLY" ] || continue ;; | ||
186 | esac | ||
181 | handle_hash_ref "$hash" "$ref" | 187 | handle_hash_ref "$hash" "$ref" |
182 | done | 188 | done |
183 | } | 189 | } |