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>

Josh Steadmon committed Jun 3, 2021 at 19:41 UTC 7ba68e0cf1df53e56ec96cb20d02d971db45a4b7
1 file changed +2 -2
Documentation/technical/api-trace2.txt
+2 -2
@@ -621,14 +621,14 @@ only present on the "start" and "atexit" events.
621 }
622 ------------
623
624 -`"discard"`::
624 +`"too_many_files"`::
625 This event is written to the git-trace2-discard sentinel file if there
626 are too many files in the target trace directory (see the
627 trace2.maxFiles config option).
628 +
629 ------------
630 {
631 - "event":"discard",
631 + "event":"too_many_files",
632 ...
633 }
634 ------------