static int pack_compression_seen;
static int zlib_compression_seen;
- int trust_executable_bit = 1;
-int trust_ctime = 1;
-int check_stat = 1;
int has_symlinks = 1;
int minimum_abbrev = 4, default_abbrev = -1;
int ignore_case;
{
cfg->attributes_file = NULL;
cfg->apply_sparse_checkout = 0;
+ cfg->trust_executable_bit = 1;
cfg->branch_track = BRANCH_TRACK_REMOTE;
+ cfg->trust_ctime = 1;
+ cfg->check_stat = 1;
+ cfg->zlib_compression_level = Z_BEST_SPEED;
+ cfg->pack_compression_level = Z_DEFAULT_COMPRESSION;
+ cfg->precomposed_unicode = -1; /* see probe_utf8_pathname_composition() */
+ cfg->core_sparse_checkout_cone = 0;
+ cfg->sparse_expect_files_outside_of_patterns = 0;
+ cfg->warn_on_object_refname_ambiguity = 1;
}
struct repo_config_values {
/* section "core" config values */
char *attributes_file;
+ int trust_executable_bit;
int apply_sparse_checkout;
+ int trust_ctime;
+ int check_stat;
+ int zlib_compression_level;
+ int pack_compression_level;
+ int precomposed_unicode;
+ int core_sparse_checkout_cone;
+ int warn_on_object_refname_ambiguity;
+
+ /* section "sparse" config values */
+ int sparse_expect_files_outside_of_patterns;
/* section "branch" config values */
enum branch_track branch_track;
extern char *git_work_tree_cfg;
/* Environment bits from configuration mechanism */
- extern int trust_executable_bit;
-extern int trust_ctime;
-extern int check_stat;
extern int has_symlinks;
extern int minimum_abbrev, default_abbrev;
extern int ignore_case;