Skip to content

Commit 1dd278c

Browse files
pcloudsgitster
authored andcommitted
git.txt: document GIT_TRACE_PACKET
"This can help with debugging object negotiation or other protocol issues." Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b12ca96 commit 1dd278c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/git.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,12 @@ for further details.
839839
recorded. This may be helpful for troubleshooting some
840840
pack-related performance problems.
841841

842+
'GIT_TRACE_PACKET'::
843+
If this variable is set, it shows a trace of all packets
844+
coming in or out of a given program. This can help with
845+
debugging object negotiation or other protocol issues. Tracing
846+
is turned off at a packet starting with "PACK".
847+
842848
GIT_LITERAL_PATHSPECS::
843849
Setting this variable to `1` will cause Git to treat all
844850
pathspecs literally, rather than as glob patterns. For example,

0 commit comments

Comments
 (0)