summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dafe222)
raw | patch | inline | side by side (parent: dafe222)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 4 Feb 2009 13:59:55 +0000 (14:59 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 5 Feb 2009 20:56:50 +0000 (21:56 +0100) |
It was only used for the status view together with the OPEN_RELOAD flag.
However, since reloading and refreshing is the same for the status use
OPEN_REFRESH instead.
However, since reloading and refreshing is the same for the status use
OPEN_REFRESH instead.
tig.c | patch | blob | history |
index 4990de5f5961311d3b20b4680c82ebadedf10b44..6d0983ca62e8ec64cf83a9f8a6eb4dedc5f42de9 100644 (file)
--- a/tig.c
+++ b/tig.c
OPEN_DEFAULT = 0, /* Use default view switching. */
OPEN_SPLIT = 1, /* Split current view. */
OPEN_RELOAD = 4, /* Reload view even if it is the current. */
- OPEN_NOMAXIMIZE = 8, /* Do not maximize the current view. */
OPEN_REFRESH = 16, /* Refresh view using previous command. */
OPEN_PREPARED = 32, /* Open already prepared command. */
};
{
bool split = !!(flags & OPEN_SPLIT);
bool reload = !!(flags & (OPEN_RELOAD | OPEN_REFRESH | OPEN_PREPARED));
- bool nomaximize = !!(flags & (OPEN_NOMAXIMIZE | OPEN_REFRESH));
+ bool nomaximize = !!(flags & OPEN_REFRESH);
struct view *view = VIEW(request);
int nviews = displayed_views();
struct view *base_view = display[0];
}
VIEW(REQ_VIEW_STATUS)->p_restore = TRUE;
- open_view(view, REQ_VIEW_STATUS, OPEN_RELOAD | OPEN_NOMAXIMIZE);
+ open_view(view, REQ_VIEW_STATUS, OPEN_REFRESH);
/* Check whether the staged entry still exists, and close the
* stage view if it doesn't. */