summaryrefslogtreecommitdiff
path: root/Documentation/trace2-target-values.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/trace2-target-values.txt')
-rw-r--r--Documentation/trace2-target-values.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/trace2-target-values.txt b/Documentation/trace2-target-values.txt
new file mode 100644
index 0000000000..3985b6d3c2
--- /dev/null
+++ b/Documentation/trace2-target-values.txt
@@ -0,0 +1,12 @@
+--
+* `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. 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
+try both.
+--