mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 21:34:15 +00:00
Fix examples/general.c compilation
git_reference_listall() -> git reference_list()
This commit is contained in:
parent
7a361e93f3
commit
ab4aa138ad
@ -392,7 +392,7 @@ int main (int argc, char** argv)
|
||||
// Here we will implement something like `git for-each-ref` simply listing out all available
|
||||
// references and the object SHA they resolve to.
|
||||
git_strarray ref_list;
|
||||
git_reference_listall(&ref_list, repo, GIT_REF_LISTALL);
|
||||
git_reference_list(&ref_list, repo, GIT_REF_LISTALL);
|
||||
|
||||
const char *refname;
|
||||
git_reference *ref;
|
||||
|
Loading…
Reference in New Issue
Block a user