fix a tog log view performance bug when lots of commits are loaded
diff --git a/tog/tog.c b/tog/tog.c
index 082650a..a83600d 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1404,6 +1404,7 @@ draw_commits(struct tog_view *view, struct commit_queue_entry **last,
author_cols = width;
free(wauthor);
free(author);
+ ncommits++;
entry = TAILQ_NEXT(entry, entry);
}