aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/trace2-target-values.txt
diff options
context:
space:
mode:
authorJosh Steadmon <steadmon@google.com>2019-10-03 16:32:56 -0700
committerJunio C Hamano <gitster@pobox.com>2019-10-04 09:26:42 +0900
commit3d4548e7e29177b6a5e21c73009bc40c63c8ce62 (patch)
tree870b7ca3b30414ec3b88c5cb556d88b87a4f762c /Documentation/trace2-target-values.txt
parentbc12974a897308fd3254cf0cc90319078fe45eea (diff)
downloadgit-3d4548e7e29177b6a5e21c73009bc40c63c8ce62.tar.gz
docs: mention trace2 target-dir mode in git-config
Move the description of trace2's target-directory behavior into the shared trace2-target-values file so that it is included in both the git-config and api-trace2 docs. Leave the SID discussion only in api-trace2 since it's a technical detail. Signed-off-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/trace2-target-values.txt')
-rw-r--r--Documentation/trace2-target-values.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/trace2-target-values.txt b/Documentation/trace2-target-values.txt
index 27d3c64e66..3985b6d3c2 100644
--- a/Documentation/trace2-target-values.txt
+++ b/Documentation/trace2-target-values.txt
@@ -2,7 +2,9 @@
* `0` or `false` - Disables the target.
* `1` or `true` - Writes to `STDERR`.
* `[2-9]` - Writes to the already opened file descriptor.
-* `<absolute-pathname>` - Writes to the file in append mode.
+* `<absolute-pathname>` - Writes to the file in append mode. If the target
+already exists and is a directory, the traces will be written to files (one
+per process) underneath the given directory.
* `af_unix:[<socket_type>:]<absolute-pathname>` - Write to a
Unix DomainSocket (on platforms that support them). Socket
type can be either `stream` or `dgram`; if omitted Git will