fix missing error message

parent bdab2238
...@@ -740,7 +740,7 @@ static int packed_lookup( ...@@ -740,7 +740,7 @@ static int packed_lookup(
return 0; return 0;
} }
} }
return GIT_ENOTFOUND; return ref_error_notfound(ref_name);
parse_failed: parse_failed:
git_error_set(GIT_ERROR_REFERENCE, "corrupted packed references file"); git_error_set(GIT_ERROR_REFERENCE, "corrupted packed references file");
......
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