diff --git a/bin/,gitlog b/bin/,gitlog index eca4d08..ad98325 100755 --- a/bin/,gitlog +++ b/bin/,gitlog @@ -564,9 +564,9 @@ EOF } index_inc() { + _oldindex="$index" if [ "$index" -lt $((log_height - 1)) ] \ && [ $((index + 1)) -lt "$(line_count "$lines")" ]; then - _oldindex="$index" _i=0 while IFS= read -r _line; do if [ $_i -gt "$index" ]; then @@ -583,11 +583,11 @@ index_inc() { done <