gitserver: add `--` arg to prevent interpreting ref name in update-ref as arg
Created by: sqs
If req.TargetRef
was -d
, this command would delete the ref whose name is the commit hash instead of updating it. This behavior would be unexpected. Because cmtHash
is unlikely to collide with an actual ref name, this is extremely low risk, but it's good to fix anyway.