Code

Fix regression where new content in the stage view does not reset the position
[tig.git] / tig.c
diff --git a/tig.c b/tig.c
index e60b717c90d0d4f9be73f76aee418c214fce4731..eec5b0abfcd7b3a274d67ec88b64b175db487dfb 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -1515,7 +1515,7 @@ static struct view views[] = {
        VIEW_(BRANCH, "branch", &branch_ops, TRUE,  ref_head),
        VIEW_(HELP,   "help",   &help_ops,   FALSE, ""),
        VIEW_(PAGER,  "pager",  &pager_ops,  FALSE, ""),
-       VIEW_(STATUS, "status", &status_ops, TRUE,  ""),
+       VIEW_(STATUS, "status", &status_ops, TRUE,  "status"),
        VIEW_(STAGE,  "stage",  &stage_ops,  TRUE,  ""),
 };