PATCH /git/refs/heads/<refname> returns 422 if <refname> doesn't exist


#1

The documentation says nothing about which status codes it uses on failure — a common issue of the v3 API — but I still would have expected a 404, not a 422 given we’re addressing the resource directly, it’s not the entity which is an issue.