clarify error propogation

This commit is contained in:
Russell Belfer 2013-05-01 15:55:54 -07:00
parent 2f28219ce3
commit b60d95c714

View File

@ -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 */