Using python-dulwich to load any version of a file from a local git repo

On Monday we are kicking off an innovation week (more to come on that topic) and I’ve devised a little project that includes nearly every buzzword I’m interested in. I’m spending some time doing some technical spikes to see what is possible and I found a need to load a particular file from a git repo given the path and tree hash. I grabbed my trusty python, dulwich (native python-git library) and gave it a shot....

April 2, 2011 · 1 min · Aaron Held