summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 226da94)
raw | patch | inline | side by side (parent: 226da94)
author | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 17 Sep 2007 23:52:02 +0000 (01:52 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 17 Sep 2007 23:52:02 +0000 (01:52 +0200) |
It is very common during loading from pipe so deserves the small
optimization.
optimization.
tig.c | patch | blob | history |
index 246812f2c6e7fa1518a05a621fe664e95495a600..ac2aba0f1b26da9be2e928a88f2fb51ff6c5c59d 100644 (file)
--- a/tig.c
+++ b/tig.c
{
int i;
+ if (request == REQ_NONE) {
+ doupdate();
+ return TRUE;
+ }
+
if (view && view->lines) {
request = view->ops->request(view, request, &view->line[view->lineno]);
if (request == REQ_NONE)