Commit a09a1028 by Etienne Samson Committed by Edward Thomson

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

CID 1382962
parent c7469503
......@@ -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