From f8348be3be8493a62110a09ab0343213990b416b Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 15 Nov 2005 19:24:19 +0100 Subject: Add config variable core.symrefsonly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows you to force git to avoid symlinks for refs. Just add something like [core] symrefsonly = true to .git/config. Don“t forget to "git checkout your_branch", or it does not do anything... Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- environment.c | 1 + 1 file changed, 1 insertion(+) (limited to 'environment.c') diff --git a/environment.c b/environment.c index 1dc7af56cf..b5026f1265 100644 --- a/environment.c +++ b/environment.c @@ -12,6 +12,7 @@ char git_default_email[MAX_GITNAME]; char git_default_name[MAX_GITNAME]; int trust_executable_bit = 1; +int only_use_symrefs = 0; static char *git_dir, *git_object_dir, *git_index_file, *git_refs_dir, *git_graft_file; -- cgit v1.2.1