-
Notifications
You must be signed in to change notification settings - Fork 22
Show file permission differences #50
Comments
Thanks for reporting. I'll take a look on how to get file permissions in GNU Emacs; command-line diff tool which I use to compare files doesn't know about file permissions. Out of curiosity, what is the use-case for this feature? I never ever needed anything like this in my professional carrier. |
Indeed, regular diff tools don't do it. The only tools I know which do this are Use case? Well, file attributes contribute to what defines the files, don't they? Otherwise they would not be there. More specifically: I was working on product with a huge number of files. I had 2 versions, 1 was working, the other one was crashing. I couldn't figure out why since both file trees were identical according to |
Added variable ztree-diff-consider-file-permissions (turned off by default) which controls whether file permissions shall be taken into consideration when comparing files.
Hi @Ambrevar , please try the recent version, it will show files with different modes (+x/-x etc) os differences. It doesn't show though what are the differences (yet). |
Forgot to mention: you have to add |
Nice! Thanks for that one! Waiting for more visual details then :D |
I just tested and it works like a charm! |
Great. I'll close this issue for now then and open #57 as an enhancement. |
I got bitten hard today by an assumption I made, namely that ztree would show file permission differences.
It's an important feature for a file comparison tool, I would love to see this implemented.
The text was updated successfully, but these errors were encountered: