Following problem. If I am comparing files on a Linux box via CIFS on a Windows box with WinMerge, WinMerge appears to touch the file permission. Notably it adds the x
bit sometimes in the u
and sometimes both in the u
and the g
field.
How can I either
- revert the permissions, without reverting the file contents, or
- commit the file contents without committing the changes to the permissions?
The odd part is that hg stat
lists those files as changed, but an hg diff
then only yields the diff of the single file that has changed content, out of a bunch of files shown in hg stat
. What gives?