mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 20:33:41 +00:00
clarify error propogation
This commit is contained in:
parent
2f28219ce3
commit
b60d95c714
@ -149,7 +149,7 @@ static int tree_key_search(
|
|||||||
/* Initial homing search; find an entry on the tree with
|
/* Initial homing search; find an entry on the tree with
|
||||||
* the same prefix as the filename we're looking for */
|
* the same prefix as the filename we're looking for */
|
||||||
if (git_vector_bsearch2(&homing, entries, &homing_search_cmp, &ksearch) < 0)
|
if (git_vector_bsearch2(&homing, entries, &homing_search_cmp, &ksearch) < 0)
|
||||||
return GIT_ENOTFOUND;
|
return GIT_ENOTFOUND; /* just a signal error; not passed back to user */
|
||||||
|
|
||||||
/* We found a common prefix. Look forward as long as
|
/* We found a common prefix. Look forward as long as
|
||||||
* there are entries that share the common prefix */
|
* there are entries that share the common prefix */
|
||||||
|
Loading…
Reference in New Issue
Block a user