~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61e3981
)
Reload the status and stage views after a run request has been handled
author
Jonas Fonseca
<fonseca@diku.dk>
Thu, 3 Apr 2008 14:46:00 +0000
(16:46 +0200)
committer
Jonas Fonseca
<fonseca@diku.dk>
Thu, 3 Apr 2008 17:33:30 +0000
(19:33 +0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index
8fec47d
..
0ceeb80
100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-2508,7
+2508,12
@@
view_driver(struct view *view, enum request request)
if (request > REQ_NONE) {
open_run_request(request);
if (request > REQ_NONE) {
open_run_request(request);
- return TRUE;
+ /* FIXME: When all views can refresh always do this. */
+ if (view == VIEW(REQ_VIEW_STATUS) ||
+ view == VIEW(REQ_VIEW_STAGE))
+ request = REQ_REFRESH;
+ else
+ return TRUE;
}
if (view && view->lines) {
}
if (view && view->lines) {