]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
pager: add a helper function to clear the last line in the terminal
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index fa8ede9a2d6441842f49740482bb74f6c23c1a5d..5b2cd32bad89b691646fa1be58fe8a1ed12f327b 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -341,7 +341,8 @@ struct index_state {
                 initialized : 1,
                 drop_cache_tree : 1,
                 updated_workdir : 1,
-                updated_skipworktree : 1;
+                updated_skipworktree : 1,
+                fsmonitor_has_run_once : 1;
        struct hashmap name_hash;
        struct hashmap dir_hash;
        struct object_id oid;
@@ -1758,6 +1759,7 @@ void setup_pager(void);
 int pager_in_use(void);
 extern int pager_use_color;
 int term_columns(void);
+void term_clear_line(void);
 int decimal_width(uintmax_t);
 int check_pager_config(const char *cmd);
 void prepare_pager_args(struct child_process *, const char *pager);