{"thread":{"id":"55084","subject":"git config file","startedAt":"2021-02-01T14:27:30Z","lastAt":"2021-02-01T17:09:27Z","messageCount":2,"participants":["Terry Warren","Taylor Blau"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"415750","messageId":"46D52CDE-15F2-4DA6-8E89-56E0EF86FFF4@me.com","threadId":"55084","inReplyTo":null,"subject":"git config file","fromName":"Terry Warren","fromEmail":"trwarren@me.com","sentAt":"2021-02-01T14:19:01Z","receivedAt":"2021-02-01T14:27:30Z","isPatch":false,"sender":{"key":"trwarren@me.com","avatar":null},"body":"can git environment variables (such as GIT_TRACE) be added to the git config file? The reason I am asking this question is that I am trying to troubleshoot a problem that only occurs when running git from within an IDE. Running from the command line shell works as expected.\n\nthanks for any response\nTerry Warren"},{"id":"415767","messageId":"YBg1lbg6koRG3aBA@nand.local","threadId":"55084","inReplyTo":"46D52CDE-15F2-4DA6-8E89-56E0EF86FFF4@me.com","subject":"Re: git config file","fromName":"Taylor Blau","fromEmail":"me@ttaylorr.com","sentAt":"2021-02-01T17:08:37Z","receivedAt":"2021-02-01T17:09:27Z","isPatch":false,"sender":{"key":"me@ttaylorr.com","avatar":"https://avatars.githubusercontent.com/u/301000140?v=4"},"body":"Hi Terry,\n\nOn Mon, Feb 01, 2021 at 06:19:01AM -0800, Terry Warren wrote:\n> can git environment variables (such as GIT_TRACE) be added to the git\n> config file? The reason I am asking this question is that I am trying\n> to troubleshoot a problem that only occurs when running git from\n> within an IDE. Running from the command line shell works as expected.\n\nThere isn't a way to define the GIT_TRACE variable, nor is there a\ngeneral way to define arbitrary environment variables that should be set\nat the beginning of every Git process.\n\nYou can use the new trace2 sub-system, which does have configuration\nvariables that you can hook into:\n\n  https://git-scm.com/docs/git-config#Documentation/git-config.txt-trace2normalTarget\n\n(beginning at the above link and continuing down). Alternatively, if\nyour IDE supports it, you could set an environment variable by setting\nyour git executable to be something like\n\n  env GIT_TRACE=xyz /path/to/git\n\n\n> thanks for any response\n> Terry Warren\n\nThanks,\nTaylor\n"}]}