Commit c0faa76da3013a3c96d1aefa48cba32ebb779306

Stefan Sperling 2019-02-22T10:51:46

remove hack; was based on wrong assumption (see d7a045384f72c50b)

diff --git a/tog/tog.c b/tog/tog.c
index ea1f898..2c22a4c 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -2286,18 +2286,6 @@ input_diff_view(struct tog_view **new_view, struct tog_view **dead_view,
 			if (err)
 				break;
 
-			/* Hack: Ensure two commits get loaded. */
-			if (!ls->thread_args.log_complete) {
-				err = input_log_view(NULL, NULL, NULL,
-				    s->log_view, KEY_DOWN);
-				if (err)
-					break;
-				err = input_log_view(NULL, NULL, NULL,
-				    s->log_view, KEY_UP);
-				if (err)
-					break;
-			}
-
 			entry = TAILQ_NEXT(ls->selected_entry, entry);
 			if (entry == NULL)
 				break;