git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 3/6] trace2 docs: surround more terms in backticks

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
May 3, 2022, 10:26 UTC
Message-ID
<2ddd9ff4506475c44f68e14a4e0a9abce2806e3b.1651573607.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.1172.v2.git.1651573607.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 Documentation/technical/api-trace2.txt | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Documentation/technical/api-trace2.txt b/Documentation/technical/api-trace2.txt
index 1f1a06eabc6..e8a5d7c78d0 100644
--- a/Documentation/technical/api-trace2.txt
+++ b/Documentation/technical/api-trace2.txt
@@ -35,7 +35,7 @@ Format details are given in a later section.
 === The Normal Format Target
 
 The normal format target is a traditional `printf()` format and similar
-to the GIT_TRACE format.  This format is enabled with the `GIT_TRACE2`
+to the `GIT_TRACE` format.  This format is enabled with the `GIT_TRACE2`
 environment variable or the `trace2.normalTarget` system or global
 config setting.
 
@@ -69,8 +69,8 @@ $ cat ~/log.normal
 === The Performance Format Target
 
 The performance format target (PERF) is a column-based format to
-replace GIT_TRACE_PERFORMANCE and is suitable for development and
-testing, possibly to complement tools like gprof.  This format is
+replace `GIT_TRACE_PERFORMANCE` and is suitable for development and
+testing, possibly to complement tools like `gprof`.  This format is
 enabled with the `GIT_TRACE2_PERF` environment variable or the
 `trace2.perfTarget` system or global config setting.
 
@@ -172,7 +172,7 @@ take a `va_list` argument.
 Some functions have a `_printf_fl()` suffix to indicate that they also
 take a varargs argument.
 
-There are CPP wrapper macros and ifdefs to hide most of these details.
+There are CPP wrapper macros and `#ifdef`s to hide most of these details.
 See `trace2.h` for more details.  The following discussion will only
 describe the simplified forms.
 
@@ -1214,11 +1214,11 @@ as each thread starts and allocates TLS storage.
 There are a few issues to resolve before we can completely
 switch to Trace2.
 
-* Updating existing tests that assume GIT_TRACE format messages.
+* Updating existing tests that assume `GIT_TRACE` format messages.
 
-* How to best handle custom GIT_TRACE_<key> messages?
+* How to best handle custom `GIT_TRACE_<key>` messages?
 
-** The GIT_TRACE_<key> mechanism allows each <key> to write to a
+** The `GIT_TRACE_<key>` mechanism allows each <key> to write to a
 different file (in addition to just stderr).
 
 ** Do we want to maintain that ability or simply write to the existing
-- 
gitgitgadget
Previous: Johannes Schindelin via GitGitGadgetNext: Johannes Schindelin via GitGitGadget
Message 17 of 19 in “A couple of fixes for the Trace2 documentation”
  1. 0/4 A couple of fixes for the Trace2 documentationJohannes Schindelin via GitGitGadget, Mar 10, 2022
  2. 1/4 trace2 docs: a couple of grammar fixesJohannes Schindelin via GitGitGadget, Mar 10, 2022
  3. Ævar Arnfjörð BjarmasonMar 10, 2022
  4. Junio C HamanoMar 10, 2022
  5. Junio C HamanoMar 10, 2022
  6. 2/4 trace2 docs: surround more terms in backticksJohannes Schindelin via GitGitGadget, Mar 10, 2022
  7. Junio C HamanoMar 10, 2022
  8. 3/4 trace2 docs: fix a JSON formatted exampleJohannes Schindelin via GitGitGadget, Mar 10, 2022
  9. 4/4 trace2 docs: clarify what `varargs` is all aboutJohannes Schindelin via GitGitGadget, Mar 10, 2022
  10. Ævar Arnfjörð BjarmasonMar 10, 2022
  11. Jeff HostetlerMar 10, 2022
  12. 0/6 A couple of fixes for the Trace2 documentationJohannes Schindelin via GitGitGadget, May 3, 2022
  13. 1/6 trace2 docs: a couple of grammar fixesJohannes Schindelin via GitGitGadget, May 3, 2022
  14. 2/6 trace2 docs: "printf" is not an English wordJohannes Schindelin via GitGitGadget, May 3, 2022
  15. 6/6 trace2 docs: add missing full stopJohannes Schindelin via GitGitGadget, May 3, 2022
  16. 5/6 trace2 docs: clarify what `varargs` is all aboutJohannes Schindelin via GitGitGadget, May 3, 2022
  17. 3/6 trace2 docs: surround more terms in backticksJohannes Schindelin via GitGitGadget, May 3, 2022
  18. 4/6 trace2 docs: fix a JSON formatted exampleJohannes Schindelin via GitGitGadget, May 3, 2022
  19. Jeff HostetlerMay 3, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.