I have changed the size of my indentations in preferences -> java -> code style -> formatter within the eclipse settings. I believe Eclipse defaults to 4, but I wanted it set to 2. I have applied the change, and all of my files now have 2 space indentations. However, TortoiseHG does not see this as a "change" that can be committed.
I've tried switching the formatting to "spaces only" but no change is picked up by TortoiseHG. What is the best workaround here if there is one?
I provide few lines which will be helpful to you.
After making this configuration in eclipse, it will give more clarity of how many spaces are there in each line.
If you are using TortoiseGit, refer this link , before committing and pushing the files, double click on each file and you can see if there are tabs of spaces. In case of spaces, you will find .(dot).
Besides, you can also verify whether the file contains tabs or spaces in Notepad++ .