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
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).
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.
smartgit.statusscanner.tracto smartgit.properties (in the settings directory, see About dialog).
<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\filewith 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
You may use
grep "smartgit.status.index" log.txt*to find out.
- ZIP the
log.txt* files and send to
firstname.lastname@example.org, together with an explanation of the problem.