]> git.ipfire.org Git - thirdparty/git.git/blobdiff - repository.h
repo-settings: parse core.untrackedCache
[thirdparty/git.git] / repository.h
index cc285ad3278bf8ac40dfb780afa523e2ee280029..cf7ff0778c853b55fff917959797de579b4a0412 100644 (file)
@@ -11,6 +11,13 @@ struct pathspec;
 struct raw_object_store;
 struct submodule_cache;
 
+enum untracked_cache_setting {
+       UNTRACKED_CACHE_UNSET = -1,
+       UNTRACKED_CACHE_REMOVE = 0,
+       UNTRACKED_CACHE_KEEP = 1,
+       UNTRACKED_CACHE_WRITE = 2
+};
+
 struct repo_settings {
        int initialized;
 
@@ -18,6 +25,7 @@ struct repo_settings {
        int gc_write_commit_graph;
 
        int index_version;
+       enum untracked_cache_setting core_untracked_cache;
 
        int pack_use_sparse;
 };