Skip to content

gittest: Update CreateRepository to always set the initial branch

James Fargher requested to merge always_set_default_branch into master

git and gitaly have different initial branches, master vs main. So in order to reduce discrepancies we should always set the default branch to what gitaly expects instead of relying on the heuristic provided by GetDefaultBranch.

Merge request reports