commit - b784a72bc5cb02e4dfce9e1e26525393093ceea1
commit + d2ad595c2cf140e23c761ef62916dbc49b40f66b
blob - 505f372cf8bf12618b4ec8c8109436d4f1cb233b
blob + ce5000cade828d33276a18bd09827070e83f2322
--- tog/tog.c
+++ tog/tog.c
if (commits_needed > 0) {
if (asprintf(&ncommits_str, " [%d/%d] %s",
entry ? entry->idx + 1 : 0, commits->ncommits,
- view->searching ? "searching..." : "loading...") == -1) {
+ (view->searching && !view->search_next_done) ?
+ "searching..." : "loading...") == -1) {
err = got_error_from_errno("asprintf");
goto done;
}