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 a39ec3f..666f222 100755 --- a/dot/local/bin/git-ll-remote +++ b/dot/local/bin/git-ll-remote | |||
@@ -181,6 +181,11 @@ handle_hash_ref() | |||
181 | subj=${subj%??}... | 181 | subj=${subj%??}... |
182 | fi | 182 | fi |
183 | 183 | ||
184 | case "$SEEN_HASH" in | ||
185 | *" $hash "*) subj= author= when= ;; | ||
186 | esac | ||
187 | SEEN_HASH="$SEEN_HASH $hash " | ||
188 | |||
184 | printf "%-42s %17s %-${author_size}s %-$((subj_size + 1))s %10s %s\n" "$hash" "$when" "$author" "$subj" "($VERDICT)" "$ref" | 189 | printf "%-42s %17s %-${author_size}s %-$((subj_size + 1))s %10s %s\n" "$hash" "$when" "$author" "$subj" "($VERDICT)" "$ref" |
185 | listed=$((listed + 1)) | 190 | listed=$((listed + 1)) |
186 | else | 191 | else |
@@ -190,6 +195,7 @@ handle_hash_ref() | |||
190 | 195 | ||
191 | read_hashes() | 196 | read_hashes() |
192 | { | 197 | { |
198 | local SEEN_HASH= | ||
193 | while read hash ref; do | 199 | while read hash ref; do |
194 | [ "$hash" != From ] || continue | 200 | [ "$hash" != From ] || continue |
195 | case "$ref" in | 201 | case "$ref" in |