Remotes order in "git remote update"
- From
Samuel Tardieu <sam@rfc1149.net>
- Date
- Mar 9, 2008, 10:22 UTC
- Message-ID
- <2008-03-09-11-22-34+trackit+sam@rfc1149.net>
It looks like remote repositories are ordered alphabetically by their local names when doing a "git remote update". In a project I follow, it has an unfortunate consequence: a dumb remote repository using "http://" is fetched first, while many commits are shared between all the upstreams I follow.
If remotes were fetched using their order in .git/config, it would fetch from a "git://" remote repository first, limiting transfers from the dumb remote repository. Is there a way to force the update order short of changing the local names or issuing multiple fetch commands?
Sam
-- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/