Commit b60d95c7 by Russell Belfer

clarify error propogation

parent 2f28219c
...@@ -149,7 +149,7 @@ static int tree_key_search( ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment