summaryrefslogtreecommitdiff
path: root/Documentation/config/trace2.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-10-15 04:48:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-10-15 04:48:01 (GMT)
commitd0ce4d9024882b5363141288979ea3689eab9998 (patch)
treecfd58c1a5cb0f735536ca96400329649477e8d7f /Documentation/config/trace2.txt
parent6ed610b96840349e9a29c40e60dc926ce03d982b (diff)
parent87db61a4363ad9f42cf7b0d90ad13763dc01e3af (diff)
downloadgit-d0ce4d9024882b5363141288979ea3689eab9998.zip
git-d0ce4d9024882b5363141288979ea3689eab9998.tar.gz
git-d0ce4d9024882b5363141288979ea3689eab9998.tar.bz2
Merge branch 'js/trace2-cap-max-output-files'
The trace2 output, when sending them to files in a designated directory, can populate the directory with too many files; a mechanism is introduced to set the maximum number of files and discard further logs when the maximum is reached. * js/trace2-cap-max-output-files: trace2: write discard message to sentinel files trace2: discard new traces if target directory has too many files docs: clarify trace2 version invariants docs: mention trace2 target-dir mode in git-config
Diffstat (limited to 'Documentation/config/trace2.txt')
-rw-r--r--Documentation/config/trace2.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config/trace2.txt b/Documentation/config/trace2.txt
index 2edbfb0..4ce0b9a 100644
--- a/Documentation/config/trace2.txt
+++ b/Documentation/config/trace2.txt
@@ -54,3 +54,9 @@ trace2.destinationDebug::
By default, these errors are suppressed and tracing is
silently disabled. May be overridden by the
`GIT_TRACE2_DST_DEBUG` environment variable.
+
+trace2.maxFiles::
+ Integer. When writing trace files to a target directory, do not
+ write additional traces if we would exceed this many files. Instead,
+ write a sentinel file that will block further tracing to this
+ directory. Defaults to 0, which disables this check.