mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'ps/use-reftable-as-default-in-3.0'
The reftable ref backend has matured enough; Git 3.0 will make it the default format in a newly created repositories by default. * ps/use-reftable-as-default-in-3.0: setup: use "reftable" format when experimental features are enabled BreakingChanges: announce switch to "reftable" format
This commit is contained in:
@@ -20,6 +20,12 @@ enum ref_storage_format {
|
||||
REF_STORAGE_FORMAT_REFTABLE,
|
||||
};
|
||||
|
||||
#ifdef WITH_BREAKING_CHANGES /* Git 3.0 */
|
||||
# define REF_STORAGE_FORMAT_DEFAULT REF_STORAGE_FORMAT_REFTABLE
|
||||
#else
|
||||
# define REF_STORAGE_FORMAT_DEFAULT REF_STORAGE_FORMAT_FILES
|
||||
#endif
|
||||
|
||||
struct repo_path_cache {
|
||||
char *squash_msg;
|
||||
char *merge_msg;
|
||||
|
||||
Reference in New Issue
Block a user