libgit2/pygit2 — pull request #137 by cholin (2012-10-02 08:51:08+00:00)
Title: added git_blob_create_fromdisk()

Blobs can now be created by an absolute path. For that the second parameter of
create_blob_fromfile() has to be True.

> import pygit2
> repo = pygit2.Repository('.')
> repo.create_blob_fromfile('/absolute/path/to/file.txt', True)