Do not ensure HEAD is default_branch on snippets
Since create_repository_if_exists takes a default_branch argument, use that in the initial call to create the repository rather than changing it after the fact. This avoids potential racy calls to WriteRef, as well as saves a roundtrip to Gitaly. Changelog: changed
Showing
Please register or sign in to comment