Commit 2866c016 by Carlos Martín Nieto

examples: use git_repository_odb instead of _database

parent 7e443f69
......@@ -74,7 +74,7 @@ int main (int argc, char** argv)
// repository.
// [odb]: http://libgit2.github.com/libgit2/#HEAD/group/odb
git_odb *odb;
odb = git_repository_database(repo);
git_repository_odb(&odb, repo);
// #### Raw Object Reading
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment