Page tree
Skip to end of metadata
Go to start of metadata

When the reason for the modified state of a specific file is unclear, following procedure allows to debug details for this file.

Compare with git status

Give git status a try and see whether the same modification is present there. If so, you may still run through this procedure, but likely the answer to this question is found elsewhere (reason may be a wrong .git/config or EOL-related issues).

If invoking git status does not show the same modification or even resets the modification in SmartGit, the resulting debug information should be sufficient to understand the difference between SmartGit's status detection and Git's status.


  • Shutdown SmartGit.
  • Add smartgit.statusscanner.trace=<relative-path> to (in the settings directory, see About dialog).
    <relative-path> is the repository-relative path of the file for which the modification should be traced. On Windows, also replace backslashes by forward slashes.


    On Windows, for example for file C:\vss\Project\FOO\bar\file with repository root C:\vss\Project, you should add line:


  • Get rid of all existing log.txt* files in the settings directory.
  • Restart SmartGit.
  • Open the offending repository and wait until the Refresh has finished and the modified file is showing up.
  • Make sure the log.txt* files contain debug line for the smartgit.status.index category.
    You may use grep "smartgit.status.index" log.txt* to find out.
  • ZIP the log.txt* files and send to, together with an explanation of the problem.

Dump traced file contents

On top of tracing the modified state of a file, you can also dump the file contents of working tree and index. To enable this functionality, add following system property to (in the settings directory, see About dialog).

  • No labels