diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-11-03 15:32:25 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-11-03 15:32:25 -0800 |
commit | f89baca1b99ff2882690d6b58dc2071195c6ae84 (patch) | |
tree | 2901be0d9c8d2b46710fe97681b66b116127fd96 /cache.h | |
parent | b05c2f9ed48adfd9670b28ecdd5c55a4e4698704 (diff) | |
parent | 067fbd4105c5aa8260a73cc6961854be0e93fa03 (diff) | |
download | git-f89baca1b99ff2882690d6b58dc2071195c6ae84.tar.gz |
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
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |