git-svn and svn:mime-type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When adding a binary file with svn, svn:mime-type is set to application/octet-stream automatically. git-svn really should be able to do the same thing. I tried implementing it myself, but I got lost in the mess of perl that is git-svn.perl and couldn't figure out the right place to do it or how to properly detect if the new file is a binary file.

This is causing problems because when I commit a new binary file to the macports svn repo using git-svn, an email is sent out with a binary diff of the whole file, because the post-commit hook script on the svn repo uses svn:mime-type to determine if it's a binary file or a text file (which is all well and proper).

Any chance somebody who knows more perl or is more familiar with git- svn.perl could take a look at this?

-Kevin Ballard

--
Kevin Ballard
http://kevin.sb.org
kevin@xxxxxx
http://www.tildesoft.com


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux