Code

Only update status view at EOF for displayed views
authorJonas Fonseca <fonseca@diku.dk>
Sat, 8 May 2010 01:46:42 +0000 (21:46 -0400)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 16 May 2010 19:56:54 +0000 (15:56 -0400)
tig.c

diff --git a/tig.c b/tig.c
index 60932d46482f8aca0468609f96f2fe47f2efa6ee..35b0cfa0e25389cbd95bd5c9d7179f450e90edb9 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -3376,7 +3376,8 @@ update_view(struct view *view)
                end_update(view, TRUE);
 
        } else if (io_eof(view->pipe)) {
-               report("");
+               if (view_is_displayed(view))
+                       report("");
                end_update(view, FALSE);
        }