libgit2/libgit2 — pull request #793 by tanoku (2012-06-29 00:25:08+00:00)
Title: Bring back `entry_bypath`

Smaller, simpler, faster.

Tree entries can now be returned as constant, or non-constant references. Non-constants are owned by the user, and must be freed manually.

Tree entries are now a shitton of bytes smaller. The `attrs` variable has been condensed with `removed` and the filename is now in a vararray. Fast and lean.

The new `entry_bypath` does not touch the original path, so you no longer need a filebuf.