开发者

Svn block diff of certain file types

开发者 https://www.devze.com 2023-01-12 08:42 出处:网络
How do开发者_如何学Go I tell svn not to diff certain file types when I type \"svn diff\"?Set the svn:mime-type of the file to it\'s correct value (or a value associated with binary data).This will dis

How do开发者_如何学Go I tell svn not to diff certain file types when I type "svn diff"?


Set the svn:mime-type of the file to it's correct value (or a value associated with binary data). This will disable "svn diff" textual output and only print if the files differ.

Since it is version control, you are never going to get it to completely ignore if the files differ; because, you asked it if they differed, it tracks versions, and you included that file in the ones you are scanning.

The mime type for "a general bag of bytes" is application/octet-stream, but you might have a more appropriate setting if it's a jpeg file, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号