Highlight keywords, such as error, fatal and warning in output of git commands
View options
- Truncate descriptions
In large repositories, e.g. comprising several submodules, the output of git commands, such as fetch or submodule update, is very large. If an error occurs during the git command, TortoiseGit will write a message "git did not exit cleanly" highlighted with red, bold font. However, to find the actual culprit in a large output is quite cumbersome. If some keywords, such as "fatal", "error" or "warning" are also highlighted in the output of the git command, the cause could be found much easier.
What steps will reproduce the problem?
- create a new bare Git repository called subrepo
- create a new local Git repository called main
- commit an arbitrary file with arbitrary commit message to repo main
- open command shell in folder of repo main
- execute
TortoiseGitProc.exe /command:subadd
- in dialog "Submodule Add" enter:
- repository: X:\path\to\subrepo.git
- path: subrepo
- press OK
- the executed git command outputs a warning and two fatal lines, see image below
What is the expected output? What do you see instead?
- expected: The output emphasizes keywords by applying appropriate colors and a bold font.
- actual: The output has no formatting besides hyperlinks.
What version of TortoiseGit and Git are you using? On what operating system?
- TortoiseGit 2.13.0.0
- git version 2.35.1.windows.2
- Windows 10 Build 19043.1466
Please provide any additional information below.
- no additional information


- Show labels
- Show closed items
Link items together to show that they're related or that one is blocking others.