summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-04-14 18:57:46 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-14 18:57:46 -0700
commit237e6db5c08b095d84d352206e6dcd332fbfca5a (patch)
treef08b974058b1bd1a0ef8ddb09f1065806a205796 /environment.c
parentMerge branch 'jk/getwholeline-getdelim-empty' into maint (diff)
parentuse setup_git_directory() in test-* programs (diff)
downloadtgif-237e6db5c08b095d84d352206e6dcd332fbfca5a.tar.xz
Merge branch 'jk/startup-info' into maint
The startup_info data, which records if we are working inside a repository (among other things), are now uniformly available to Git subcommand implementations, and Git avoids attempting to touch references when we are not in a repository. * jk/startup-info: use setup_git_directory() in test-* programs grep: turn off gitlink detection for --no-index mailmap: do not resolve blobs in a non-repository remote: don't resolve HEAD in non-repository setup: set startup_info->have_repository more reliably setup: make startup_info available everywhere
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/environment.c b/environment.c
index 6dec9d0403..6cc0a7780f 100644
--- a/environment.c
+++ b/environment.c
@@ -64,7 +64,6 @@ int grafts_replace_parents = 1;
int core_apply_sparse_checkout;
int merge_log_config = -1;
int precomposed_unicode = -1; /* see probe_utf8_pathname_composition() */
-struct startup_info *startup_info;
unsigned long pack_size_limit_cfg;
#ifndef PROTECT_HFS_DEFAULT