Commit d9eae98b by Etienne Samson

refs: assert that we're passed valid refs when renaming

CID 1382962
parent 0a8745f2
......@@ -709,6 +709,8 @@ int git_reference_rename(
git_signature *who;
int error;
assert(out && ref);
if ((error = git_reference__log_signature(&who, ref->db->repo)) < 0)
return error;
......
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