Download raw body.
validate reference names in open_ref()
Stefan Sperling: > There are code paths which can attempt to use a reference name > which hasn't been validated yet. This patch prevents such issues. > > In particular, it catches invalid reference names passed to 'got ref -l'. > This will also be needed to validate reference names passed to a > future 'gotadmin pack' command which I am working on. ok naddy@ -- Christian "naddy" Weisgerber naddy@mips.inka.de
validate reference names in open_ref()