Commit 46254467cf1a092be899fb522f0560005b6111b3

Carlos Martín Nieto 2014-08-29T15:10:15

clone: support remotes with references but no branches 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.