libgit2/node-gitteh — pull request #63 by FrozenCow (2013-08-19 21:03:43+00:00)
Title: Allow commits to be created without index

I wanted to make commits without a working directory (nor index), so I've added the minimal set of functions that I could find to create commits: createBlobFromDisk, createTree, createCommit. These 3 functions all reside in Repository.

These commits might not be following the guidelines of node-gitteh and feel a bit messy compared to the rest of the code. I couldn't find good examples for such 'big' functions. Please give me pointers to what should be changed.

Also please note that input isn't validated thoroughly. I consider these commits as a first step/version.