Commit 28abb187 by Ben Straub

Stop returning incorrect error message

parent 57f5d8dc
......@@ -177,7 +177,7 @@ static int loose_parse_oid(git_oid *oid, git_buf *file_content)
corrupted:
giterr_set(GITERR_REFERENCE, "Corrupted loose reference file");
return GIT_ENOTFOUND;
return -1;
}
static git_ref_t loose_guess_rtype(const git_buf *full_path)
......
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