Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3860
Closed
Open
Issue created Feb 06, 2022 by meigelb@meigelbContributor

Highlight keywords, such as error, fatal and warning in output of git commands

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?

  1. create a new bare Git repository called subrepo
  2. create a new local Git repository called main
  3. commit an arbitrary file with arbitrary commit message to repo main
  4. open command shell in folder of repo main
  5. execute TortoiseGitProc.exe /command:subadd
  6. in dialog "Submodule Add" enter:
    • repository: X:\path\to\subrepo.git
    • path: subrepo
    • press OK
  7. the executed git command outputs a warning and two fatal lines, see image below output of git with one warning and two fatals

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking