config: add core.untrackedCache
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index c3b196ef0b1a4bf4255f09f3ec592db931536dd6..a7f084a539ead0f7d39b5083905a5569d82fbc49 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1048,6 +1048,9 @@ static inline int has_sha1_file(const unsigned char *sha1)
        return has_sha1_file_with_flags(sha1, 0);
 }
 
+/* Same as the above, except for struct object_id. */
+extern int has_object_file(const struct object_id *oid);
+
 /*
  * Return true iff an alternate object database has a loose object
  * with the specified name.  This function does not respect replace
@@ -1599,6 +1602,7 @@ extern int git_config_get_bool(const char *key, int *dest);
 extern int git_config_get_bool_or_int(const char *key, int *is_bool, int *dest);
 extern int git_config_get_maybe_bool(const char *key, int *dest);
 extern int git_config_get_pathname(const char *key, const char **dest);
+extern int git_config_get_untracked_cache(void);
 
 struct key_value_info {
        const char *filename;