summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Josh Steadmon <steadmon@google.com>2021-06-03 19:41:30 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-04 12:11:16 +0900
commit7ba68e0cf1df53e56ec96cb20d02d971db45a4b7 (patch)
tree862920dad63849496767a957dc3b4e3e46374db6 /Documentation
parenttrace2: write discard message to sentinel files (diff)
downloadtgif-7ba68e0cf1df53e56ec96cb20d02d971db45a4b7.tar.xz
docs: fix api-trace2 doc for "too_many_files" event
In 87db61a (trace2: write discard message to sentinel files, 2019-10-04), we added a new "too_many_files" event for when trace2 logging would create too many files in an output directory. Unfortunately, the api-trace2 doc described a "discard" event instead. Fix the doc to use the correct event name. Signed-off-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/api-trace2.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/technical/api-trace2.txt b/Documentation/technical/api-trace2.txt
index a045dbe422..d04828d15a 100644
--- a/Documentation/technical/api-trace2.txt
+++ b/Documentation/technical/api-trace2.txt
@@ -621,14 +621,14 @@ only present on the "start" and "atexit" events.
}
------------
-`"discard"`::
+`"too_many_files"`::
This event is written to the git-trace2-discard sentinel file if there
are too many files in the target trace directory (see the
trace2.maxFiles config option).
+
------------
{
- "event":"discard",
+ "event":"too_many_files",
...
}
------------