Summary: | kompare ignores binary files | ||
---|---|---|---|
Product: | [Applications] kompare | Reporter: | mattm3a |
Component: | general | Assignee: | Kompare developers <kompare-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 4.1.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
mattm3a
2013-10-30 17:03:02 UTC
Wasn't there a warning that the diff is possibly malformed and some hunks may be missing? Kompare only operates on text files. Yes, there is such a warning. This warning does not easily translate to, "Kompare only operates on text files." Kompare is also described as "A diff/patch frontend". It would be nice if it could provide all of the data provided by diff, such as when binary files are different. The problem is that diff does not produce that information in a machine-readable way. Instead, you get a translated (!) freeform message that "Binary files x and y differ", which is just ignored by patch like any other junk text line (and that's also what Kompare treats it as right now, a junk line). I can't really have Kompare check for the translations of that message in every single translation of the diff utility, yet that would be the only reliable way to handle it, because Kompare also works on diff files, which could have been generated in any locale. There's a feature request for really supporting binary diffs, but that would mean moving beyond the diff utility, so it is unlikely to happen. *** This bug has been marked as a duplicate of bug 155284 *** |