Stop returning incorrect error message

This commit is contained in:
Ben Straub 2012-12-14 14:16:10 -08:00
parent 57f5d8dca5
commit 28abb187c4

View File

@ -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)