Merge branch 'jk/repository-extension' into maint
Prepare for Git on-disk repository representation to undergo backward incompatible changes by introducing a new repository format version "1", with an extension mechanism. * jk/repository-extension: introduce "preciousObjects" repository extension introduce "extensions" form of core.repositoryformatversion
This commit is contained in:
7
cache.h
7
cache.h
@ -696,8 +696,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
|
||||
|
Reference in New Issue
Block a user