summaryrefslogtreecommitdiff
path: root/config.yml.example
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-09-15 15:45:10 +0200
committerPaco Guzman <pacoguzmanp@gmail.com>2016-09-27 12:37:36 +0200
commit192e2bd367494bf66746c8971896a2d9cb84fc92 (patch)
treec3a252d71cab51e47d4f1a03c40abe0a1851f6f2 /config.yml.example
parentb71ca5da9fde4fa8457af146bd090ec7caa28d60 (diff)
downloadgitlab-shell-192e2bd367494bf66746c8971896a2d9cb84fc92.tar.gz
Enable GIT_TRACE/GIT_TRACE_PACKET/GIT_TRACE_PERFORMANCE by providing the git_trace_log_file config key59-git-tracing
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.
Diffstat (limited to 'config.yml.example')
-rw-r--r--config.yml.example7
1 files changed, 7 insertions, 0 deletions
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: