{"thread":{"id":"13509","subject":"git-svn and svn:mime-type","startedAt":"2008-05-14T05:46:54Z","lastAt":"2008-05-14T05:46:54Z","messageCount":1,"participants":["Kevin Ballard"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"76918","messageId":"BC05465E-C3A1-49C7-9721-FE5AB822C42E@sb.org","threadId":"13509","inReplyTo":null,"subject":"git-svn and svn:mime-type","fromName":"Kevin Ballard","fromEmail":"kevin@sb.org","sentAt":"2008-05-14T05:46:54Z","receivedAt":"2008-05-14T05:46:54Z","isPatch":false,"sender":{"key":"kevin@sb.org","avatar":"https://avatars.githubusercontent.com/u/714?v=4"},"body":"When adding a binary file with svn, svn:mime-type is set to  \napplication/octet-stream automatically. git-svn really should be able  \nto do the same thing. I tried implementing it myself, but I got lost  \nin the mess of perl that is git-svn.perl and couldn't figure out the  \nright place to do it or how to properly detect if the new file is a  \nbinary file.\n\nThis is causing problems because when I commit a new binary file to  \nthe macports svn repo using git-svn, an email is sent out with a  \nbinary diff of the whole file, because the post-commit hook script on  \nthe svn repo uses svn:mime-type to determine if it's a binary file or  \na text file (which is all well and proper).\n\nAny chance somebody who knows more perl or is more familiar with git- \nsvn.perl could take a look at this?\n\n-Kevin Ballard\n\n-- \nKevin Ballard\nhttp://kevin.sb.org\nkevin@sb.org\nhttp://www.tildesoft.com\n"}]}