Use `git update-ref --stdin -z` to speed up TestEnv.set_repo_refs
Previously, we were calling `git update-ref <ref> <sha>` about 30 times per test using `create(:project)` or similar.
Showing
Please register or sign in to comment
Previously, we were calling `git update-ref <ref> <sha>` about 30 times per test using `create(:project)` or similar.