summaryrefslogtreecommitdiff
path: root/config.yml.example
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-09-27 14:29:51 +0000
committerRémy Coutable <remy@rymai.me>2016-09-27 14:29:51 +0000
commit0b4fd0af16555b2bdc28f6b18781d72226c5d56c (patch)
treec3a252d71cab51e47d4f1a03c40abe0a1851f6f2 /config.yml.example
parentb71ca5da9fde4fa8457af146bd090ec7caa28d60 (diff)
parent192e2bd367494bf66746c8971896a2d9cb84fc92 (diff)
downloadgitlab-shell-3.6.2.tar.gz
Merge branch '59-git-tracing' into 'master' v3.6.2
Enable GIT_TRACE_PERFORMANCE through a config variable. The value of the variable must an absolute path needs to exist so we’re able to check if we can write in that file. Because in the case we cannot write we’ll throw a warning to the output of the users. ```sh ~/dev/gitlab/local/pacoguzman/gitlab-ce (master=)$ git push origin master warning: could not open '/wadus' for tracing: Permission denied Everything up-to-date ``` Closes #59 See merge request !91
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: