Code

Make it possible to browse all status changes once the diff view is open
authorJonas Fonseca <fonseca@diku.dk>
Sun, 19 Aug 2007 09:31:03 +0000 (11:31 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 19 Aug 2007 09:31:03 +0000 (11:31 +0200)
tig.c

diff --git a/tig.c b/tig.c
index c3bc1f4a30fce9b3f7f70603b0e3fd56d7b8fa0a..e57ec4d6ed4cd60a0d7dce7b7b93a7808b81564d 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -2212,6 +2212,8 @@ view_driver(struct view *view, enum request request)
 
                if ((view == VIEW(REQ_VIEW_DIFF) &&
                     view->parent == VIEW(REQ_VIEW_MAIN)) ||
+                  (view == VIEW(REQ_VIEW_DIFF) &&
+                    view->parent == VIEW(REQ_VIEW_STATUS)) ||
                   (view == VIEW(REQ_VIEW_BLOB) &&
                     view->parent == VIEW(REQ_VIEW_TREE))) {
                        int line;