From b60d95c714f5e68f07c5251aebbe72ba3ad5806d Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Wed, 1 May 2013 15:55:54 -0700 Subject: [PATCH] clarify error propogation --- src/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree.c b/src/tree.c index 79cbcffcb..a48b322d4 100644 --- a/src/tree.c +++ b/src/tree.c @@ -149,7 +149,7 @@ static int tree_key_search( /* Initial homing search; find an entry on the tree with * the same prefix as the filename we're looking for */ 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 * there are entries that share the common prefix */