Open stdedos opened 2 years ago
What would happen if WinMerge simply assumed any file with a .tar
extension is an archive? Any errors need to be trapped whether or not the file is actually an archive.
Unlike zip files, tar files do not have a fixed signature.
Oh yeah, you are right Especially for the files I repro'ed it with, they literally start with the file paths first - no magic signature 😕
What would happen if WinMerge simply assumed any file with a
.tar
extension is an archive? Any errors need to be trapped whether or not the file is actually an archive.
WinMerge always considers files with the extension tar to be archive files when Archive support is enabled. If the file is not actually in tar format, you will get the following error: (This error message is confusing ...)
(This error message is confusing ...)
This error message is suuuuper confusing 😅
Unlike zip files, tar files do not have a fixed signature. For this reason, unfortunately, even with the "Detect archive type from file signature" option enabled, WinMerge cannot consider a file with a non-tar extension to be a tar file.