From 192e2bd367494bf66746c8971896a2d9cb84fc92 Mon Sep 17 00:00:00 2001 From: Paco Guzman Date: Thu, 15 Sep 2016 15:45:10 +0200 Subject: Enable GIT_TRACE/GIT_TRACE_PACKET/GIT_TRACE_PERFORMANCE by providing the git_trace_log_file config key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The value of the variable if present must be a writable absolute path. If it’s not the case we log a proper message and not enable tracing to not throw output to the users. --- config.yml.example | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.yml.example') diff --git a/config.yml.example b/config.yml.example index cd66022..0164830 100644 --- a/config.yml.example +++ b/config.yml.example @@ -68,3 +68,10 @@ audit_usernames: false # For Debian and Ubuntu systems this can be done with: sudo apt-get install git-annex # For CentOS: sudo yum install epel-release && sudo yum install git-annex git_annex_enabled: false + +# Git trace log file. +# If set, git commands receive GIT_TRACE* environment variables +# See https://git-scm.com/book/es/v2/Git-Internals-Environment-Variables#Debugging for documentation +# An absolute path starting with / – the trace output will be appended to that file. +# It needs to exist so we can check permissions and avoid to throwing warnings to the users. +git_trace_log_file: -- cgit v1.2.1