Re: Avoid sending binary file diffs in post-commit commit-email.pl?
On Wed, Mar 19, 2008 at 11:28 AM, Peter Connolly <psconnolly_at_gmail.com>
> I'd rather not get commit-email.pl emails after committing binary
> files. The .swf in question is about 1 MB, so the diff email is even
> larger. Not being much of a Perl person, is there a simple way to
> suppress the diff emails in the case where the file type indicates a
> binary file?
I think the reason why you are seeing the binary diff is because the file in
question (.swf) has a mime-type that starts with "text/". Set it to
"application/x-Shockwafe-Flash" and it should work fine after that.
You set the mime-type by setting the svn:mime-type property on the
Received on 2008-03-19 21:32:50 CET
This is an archived mail posted to the Subversion Users