threads / patch / 49272

patchDocumentation/git.txt: clarify that GIT_TRACE=/path appends

Subject: [PATCH] Documentation/git.txt: clarify that GIT_TRACE=/path appends

## tl;dr

One message between Sep 4, 2018 and Sep 4, 2018. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

SZEDER Gábor· Sep 4, 2018, 00:05 UTC · lore

The current wording of the description of GIT_TRACE=/path/to/file ("... will try to write the trace messages into it") might be misunderstood as "overwriting"; at least I interpreted it that way on a cursory first read.

State it more explicitly that the trace messages are appended.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
---
 Documentation/git.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/git.txt +2 −2
diff --git a/Documentation/git.txt b/Documentation/git.txt
index dba7f0c18e..74a9d7edb4 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -599,8 +599,8 @@ trace messages into this file descriptor.
 +
 Alternatively, if the variable is set to an absolute path
 (starting with a '/' character), Git will interpret this
-as a file path and will try to write the trace messages
-into it.
+as a file path and will try to append the trace messages
+to it.
 +
 Unsetting the variable, or setting it to empty, "0" or
 "false" (case insensitive) disables trace messages.
-- 
2.19.0.rc0.188.g56c5ee2db1

← back to recent threads