#define USE_THE_REPOSITORY_VARIABLE
#include "git-compat-util.h"
#include "abspath.h"
#include "branch.h"
#include "convert.h"
#include "environment.h"
#include "gettext.h"
#include "repository.h"
#include "config.h"
#include "refs.h"
#include "fmt-merge-msg.h"
#include "commit.h"
#include "strvec.h"
#include "path.h"
#include "chdir-notify.h"
#include "setup.h"
#include "write-or-die.h"
int trust_executable_bit = …;
int trust_ctime = …;
int check_stat = …;
int has_symlinks = …;
int minimum_abbrev = …, default_abbrev = …;
int ignore_case;
int assume_unchanged;
int is_bare_repository_cfg = …;
int warn_on_object_refname_ambiguity = …;
int repository_format_precious_objects;
char *git_commit_encoding;
char *git_log_output_encoding;
char *apply_default_whitespace;
char *apply_default_ignorewhitespace;
char *git_attributes_file;
char *git_hooks_path;
int zlib_compression_level = …;
int pack_compression_level = …;
int fsync_object_files = …;
int use_fsync = …;
enum fsync_method fsync_method = …;
enum fsync_component fsync_components = …;
size_t packed_git_window_size = …;
size_t packed_git_limit = …;
size_t delta_base_cache_limit = …;
unsigned long big_file_threshold = …;
char *editor_program;
char *askpass_program;
char *excludes_file;
enum auto_crlf auto_crlf = …;
enum eol core_eol = …;
int global_conv_flags_eol = …;
char *check_roundtrip_encoding;
enum branch_track git_branch_track = …;
enum rebase_setup_type autorebase = …;
enum push_default_type push_default = …;
#ifndef OBJECT_CREATION_MODE
#define OBJECT_CREATION_MODE …
#endif
enum object_creation_mode object_creation_mode = …;
int grafts_keep_true_parents;
int core_apply_sparse_checkout;
int core_sparse_checkout_cone;
int sparse_expect_files_outside_of_patterns;
int merge_log_config = …;
int precomposed_unicode = …;
unsigned long pack_size_limit_cfg;
int max_allowed_tree_depth = …
512;
#else
2048;
#endif
#ifndef PROTECT_HFS_DEFAULT
#define PROTECT_HFS_DEFAULT …
#endif
int protect_hfs = …;
#ifndef PROTECT_NTFS_DEFAULT
#define PROTECT_NTFS_DEFAULT …
#endif
int protect_ntfs = …;
const char *comment_line_str = …;
char *comment_line_str_to_free;
int auto_comment_line_char;
int core_preload_index = …;
char *git_work_tree_cfg;
const char * const local_repo_env[] = …;
const char *getenv_safe(struct strvec *argv, const char *name)
{ … }
int is_bare_repository(void)
{ … }
int have_git_dir(void)
{ … }
const char *get_git_namespace(void)
{ … }
const char *strip_namespace(const char *namespaced_ref)
{ … }
const char *get_log_output_encoding(void)
{ … }
const char *get_commit_output_encoding(void)
{ … }
static int the_shared_repository = …;
static int need_shared_repository_from_config = …;
void set_shared_repository(int value)
{ … }
int get_shared_repository(void)
{ … }
void reset_shared_repository(void)
{ … }
int use_optional_locks(void)
{ … }
int print_sha1_ellipsis(void)
{ … }