tog: disable arbitrary commit pre-fetching in scroll_down()
diff --git a/tog/tog.c b/tog/tog.c
index bb6dc1a..79e24e9 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1258,7 +1258,7 @@ scroll_down(struct commit_queue_entry **first_displayed_entry, int maxscroll,
do {
pentry = TAILQ_NEXT(*last_displayed_entry, entry);
if (pentry == NULL && !*log_complete) {
- *commits_needed = maxscroll + 20;
+ *commits_needed = maxscroll;
while (*commits_needed > 0) {
int errcode;
errcode = pthread_cond_signal(need_commits);