News for hackers. Stuff that matters.
Re:Digging around Github's git database API by swanson on Saturday July 09, 2011 @10:52PM (#2746888)
Cool, I didn't see that object api in v2 -- I think I must have skipped the v2 release altogether. I just remember the green v1 site :)

So what is the binary data that is base64 encoded? How does it get 'converted' to the raw output? I'll definitely be using the mime type, but I'm curious about how it's generated on the server.

Re:Digging around Github's git database API by jevinskie on Sunday July 10, 2011 @12:30AM (#2747036)
You can recover the original data by base64 decoding the content. It is strange though because the github API adds "\n"s to the content string that you have to remove before decoding.
Re:Digging around Github's git database API by swanson on Sunday July 10, 2011 @12:46AM (#2747065)
Oh, whoops...brain fart. I was making things more complicated than they needed to be. Thanks!