clone.c
14.3 KB
-
clone: support remotes with references but no branches · 46254467
A repository can have any number of references which we're not interested in such as notes or tags. For the default branch calculation we only care about branches. Make the decision about the number of branches rather than the number of refs in general.
Carlos Martín Nieto committed