On Sun, Feb 3, 2013 at 4:41 AM, Bert Huijben <b...@vmoo.com> wrote: > Maybe we should try to fix this automatic detection then (Does your > setting match the libmagic output for that file?) instead of adding > just a warning when setting the file binary explicitly. > > Maybe we should validate our libmagic based decision to make something > binary? >
Taking a look while here at FOSDEM...libsvn_client set the mime-type as "application/xml": % svn diff index.shtml Index: index.shtml =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/xml % svn pg svn:mime-type index.shtml application/xml % file --mime-type index.shtml index.shtml: application/xml % file -v file-5.11 magic file from /opt/local/share/misc/magic I thought we treated application/xml as text at one time? -- justin