-
Notifications
You must be signed in to change notification settings - Fork 156
mingw: help debugging by optionally executing bash with MSYS2's strace #604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
MSYS2's strace facility is very useful for debugging... With this patch, the bash will be executed through strace if the environment variable GIT_STRACE_COMMANDS is set, which comes in real handy when investigating issues in the test suite. Also support passing a path to a log file via GIT_STRACE_COMMANDS to force Git to call strace.exe with the `-o <path>` argument, i.e. to log into a file rather than print the log directly. That comes in handy when the output would otherwise misinterpreted by a calling process as part of Git's output. Note: the values "1", "yes" or "true" are *not* specifying paths, but tell Git to let strace.exe log directly to the console. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
/submit |
Submitted as pull.604.git.1586427707655.gitgitgadget@gmail.com |
This branch is now known as |
This patch series was integrated into pu via git@f183b45. |
This patch series was integrated into pu via git@882032d. |
This patch series was integrated into pu via git@ace71da. |
This patch series was integrated into pu via git@7bb3df3. |
This patch series was integrated into pu via git@bbd6116. |
This patch series was integrated into pu via git@b0666e0. |
This patch series was integrated into pu via git@08a0b85. |
This patch series was integrated into pu via git@7c5cf23. |
This patch series was integrated into pu via git@17d2d27. |
This patch series was integrated into next via git@11a3d39. |
This patch series was integrated into pu via git@1258992. |
This patch series was integrated into pu via git@493ee41. |
This patch series was integrated into pu via git@b3eb70e. |
This patch series was integrated into next via git@b3eb70e. |
This patch series was integrated into master via git@b3eb70e. |
Closed via b3eb70e. |
This is another patch that has been carried in Git for Windows for some five years. Time to graduate.