Code

Restore the branch view position after refreshing
authorJonas Fonseca <fonseca@diku.dk>
Sat, 21 Feb 2009 15:37:35 +0000 (16:37 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Sat, 21 Feb 2009 15:37:35 +0000 (16:37 +0100)
tig.c

diff --git a/tig.c b/tig.c
index 7a996dca08ca43e21b13428ebfdb3f4d0109cd42..a7c1ed42cc8052d26e5df10f5f7e3b8247143469 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -4866,6 +4866,7 @@ branch_open(struct view *view)
 
        setup_update(view, view->id);
        foreach_ref(branch_open_visitor, view);
+       view->p_restore = TRUE;
 
        return TRUE;
 }