#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 "object-file.h"
#include "object-store-ll.h"
#include "path.h"
#include "replace-object.h"
#include "tmp-objdir.h"
#include "chdir-notify.h"
#include "setup.h"
#include "shallow.h"
#include "trace.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 prefer_symlink_refs;
int is_bare_repository_cfg = …;
int warn_ambiguous_refs = …;
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 = …;
char *notes_ref_name;
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;
enum log_refs_config log_all_ref_updates = …;
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 = …;
int auto_comment_line_char;
int core_preload_index = …;
char *git_work_tree_cfg;
static char *git_namespace;
const char * const local_repo_env[] = …;
static char *expand_namespace(const char *raw_namespace)
{ … }
const char *getenv_safe(struct strvec *argv, const char *name)
{ … }
void setup_git_env(const char *git_dir)
{ … }
int is_bare_repository(void)
{ … }
int have_git_dir(void)
{ … }
const char *get_git_dir(void)
{ … }
const char *get_git_common_dir(void)
{ … }
const char *get_git_namespace(void)
{ … }
const char *strip_namespace(const char *namespaced_ref)
{ … }
static int git_work_tree_initialized;
void set_git_work_tree(const char *new_work_tree)
{ … }
const char *get_git_work_tree(void)
{ … }
const char *get_object_directory(void)
{ … }
int odb_mkstemp(struct strbuf *temp_filename, const char *pattern)
{ … }
int odb_pack_keep(const char *name)
{ … }
char *get_index_file(void)
{ … }
char *get_graft_file(struct repository *r)
{ … }
static void set_git_dir_1(const char *path)
{ … }
static void update_relative_gitdir(const char *name UNUSED,
const char *old_cwd,
const char *new_cwd,
void *data UNUSED)
{ … }
void set_git_dir(const char *path, int make_realpath)
{ … }
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)
{ … }