mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
examples: use git_repository_odb instead of _database
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user