grep: add --threads=<num> option and grep.threads configuration
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index f735d14dc29310f07ee48ad54d1584c881f97110..eb03e1e82c6d452aa43c3b1e2acf70ddc8fb5c30 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -697,8 +697,15 @@ extern char *notes_ref_name;
 
 extern int grafts_replace_parents;
 
+/*
+ * GIT_REPO_VERSION is the version we write by default. The
+ * _READ variant is the highest number we know how to
+ * handle.
+ */
 #define GIT_REPO_VERSION 0
+#define GIT_REPO_VERSION_READ 1
 extern int repository_format_version;
+extern int repository_format_precious_objects;
 extern int check_repository_format(void);
 
 #define MTIME_CHANGED  0x0001