register_ref(): make a copy of the bad reference SHA-1
[git] / t / t5100 / patch0013