Commit Diff


commit - df68a56be62fb658f8307fc5321e12b7b9fce746
commit + 11edf34c28f6c60a1d37d5c83c758e90df02fe7a
blob - 031ac318e747e847486fee09904105717f3d1a39
blob + fa53f96cb444650badb64394f0e1af4d9ea769f7
--- tog/tog.c
+++ tog/tog.c
@@ -3179,7 +3179,7 @@ log_move_cursor_down(struct tog_view *view, int page)
 			++s->selected;
 		else
 			err = log_scroll_down(view, 1);
-	} else if (s->thread_args.load_all) {
+	} else if (s->thread_args.load_all && s->thread_args.log_complete) {
 		struct commit_queue_entry *entry;
 		int n;
 
@@ -3311,7 +3311,8 @@ input_log_view(struct tog_view **new_view, struct tog_
 			err = log_move_cursor_down(view, s->commits.ncommits);
 			s->thread_args.load_all = 0;
 		}
-		return err;
+		if (err)
+			return err;
 	}
 
 	eos = nscroll = view->nlines - 1;