@@ -830,6 +830,93 @@ export GCM_AZREPOS_CREDENTIALTYPE="oauth"
830830
831831** Also see: [ credential.azreposCredentialType] [ credential-azrepos-credential-type ] **
832832
833+ ---
834+
835+ ### GIT_TRACE2
836+
837+ Turns on Trace2 Normal Format tracing - see [ Git's Trace2 Normal Format
838+ documentation] [ trace2-normal-docs ] for more details.
839+
840+ #### Windows
841+
842+ ``` batch
843+ SET GIT_TRACE2=%UserProfile%\log.normal
844+ ```
845+
846+ #### macOS/Linux
847+
848+ ``` bash
849+ export GIT_TRACE2=~ /log.normal
850+ ```
851+
852+ If the value of ` GIT_TRACE2 ` is a full path to a file in an existing directory,
853+ logs are appended to the file.
854+
855+ If the value of ` GIT_TRACE2 ` is ` true ` or ` 1 ` , logs are written to standard
856+ error.
857+
858+ Defaults to disabled.
859+
860+ ** Also see: [ trace2.normalFormat] [ trace2-normal-config ] **
861+
862+ ---
863+
864+ ### GIT_TRACE2_EVENT
865+
866+ Turns on Trace2 Event Format tracing - see [ Git's Trace2 Event Format
867+ documentation] [ trace2-event-docs ] for more details.
868+
869+ #### Windows
870+
871+ ``` batch
872+ SET GIT_TRACE2_EVENT=%UserProfile%\log.event
873+ ```
874+
875+ #### macOS/Linux
876+
877+ ``` bash
878+ export GIT_TRACE2_EVENT=~ /log.event
879+ ```
880+
881+ If the value of ` GIT_TRACE2_EVENT ` is a full path to a file in an existing
882+ directory, logs are appended to the file.
883+
884+ If the value of ` GIT_TRACE2_EVENT ` is ` true ` or ` 1 ` , logs are written to
885+ standard error.
886+
887+ Defaults to disabled.
888+
889+ ** Also see: [ trace2.eventFormat] [ trace2-event-config ] **
890+
891+ ---
892+
893+ ### GIT_TRACE2_PERF
894+
895+ Turns on Trace2 Performance Format tracing - see [ Git's Trace2 Performance
896+ Format documentation] [ trace2-performance-docs ] for more details.
897+
898+ #### Windows
899+
900+ ``` batch
901+ SET GIT_TRACE2_PERF=%UserProfile%\log.perf
902+ ```
903+
904+ #### macOS/Linux
905+
906+ ``` bash
907+ export GIT_TRACE2_PERF=~ /log.perf
908+ ```
909+
910+ If the value of ` GIT_TRACE2_PERF ` is a full path to a file in an existing
911+ directory, logs are appended to the file.
912+
913+ If the value of ` GIT_TRACE2_PERF ` is ` true ` or ` 1 ` , logs are written to
914+ standard error.
915+
916+ Defaults to disabled.
917+
918+ ** Also see: [ trace2.perfFormat] [ trace2-performance-config ] **
919+
833920[ autodetect ] : autodetect.md
834921[ azure-access-tokens ] : azrepos-users-and-tokens.md
835922[ configuration ] : configuration.md
@@ -871,4 +958,10 @@ export GCM_AZREPOS_CREDENTIALTYPE="oauth"
871958[ libsecret ] : https://wiki.gnome.org/Projects/Libsecret
872959[ migration-guide ] : migration.md#gcm_authority
873960[ passwordstore ] : https://www.passwordstore.org/
961+ [ trace2-normal-docs ] : https://git-scm.com/docs/api-trace2#_the_normal_format_target
962+ [ trace2-normal-config ] : configuration.md#trace2normalTarget
963+ [ trace2-event-docs ] : https://git-scm.com/docs/api-trace2#_the_event_format_target
964+ [ trace2-event-config ] : configuration.md#trace2eventTarget
965+ [ trace2-performance-docs ] : https://git-scm.com/docs/api-trace2#_the_performance_format_target
966+ [ trace2-performance-config ] : configuration.md#trace2perfTarget
874967[ windows-broker ] : windows-broker.md
0 commit comments