Unverified Commit 28d2ea1d by Edward Thomson Committed by GitHub

Merge pull request #6305 from zawata/fix_refdb_error_msg

refs: fix missing error message
parents 3b8a06c0 640e8a63
...@@ -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