libgit2/libgit2sharp — pull request #455 by yorah (2013-06-20 14:06:15+00:00)
Title: Allow ObjectDatabase.CreateBlob() to limit the number of bytes to consume

Fixes #447

- [x] Update the `CreateBlob()` overload with the following signature:
`public virtual Blob CreateBlob(Stream stream, string hintpath = null, int? numberOfBytesToConsume = null);`
- [x] Cover the new behavior with some tests