mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-09 10:56:20 +00:00
examples: use git_repository_odb instead of _database
This commit is contained in:
parent
7e443f6960
commit
2866c01685
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user