libgit2/rugged — pull request #58 by pda (2012-04-27 04:37:32+00:00)
Title: README: Rugged::Commit.create() example from rugged_commit.c docs.

The previous example using `Rugged::Commit.new(repo)` no longer worked, producing `ArgumentError: wrong number of arguments(1 for 2)`.

This example from [`rugged_commit.c`](https://github.com/libgit2/rugged/blob/40181a6fbeb8bbfedb843bc130a265090fa111bc/ext/rugged/rugged_commit.c#L197-225) works correctly, returning the new commit SHA1.