How to mark files as binary to avoid diffs

March 22, 2007 on 4:59 pm | In Uncategorized |

Some files should really be treated as binary so the addition, removal, or update of such files doesn’t trigger enormous diffds. PDF files are an example. Setting the svn:mime-type property of the file to application/octet-stream does the trick: svn propset svn:mime-type application/octet-stream

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress
Entries and comments feeds. ^Top^