Is there a way to tell difft that a particular extension is a particular format? Or that it could guess for unknown formats whether they are xml by e.g. scanning the first lines for <tags> before falling back to text?
Because xml files are very often not using the extension xml and treating them as plaintext means losing a lot of the structural goodness.
Because xml files are very often not using the extension xml and treating them as plaintext means losing a lot of the structural goodness.