Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Always update git urls #4104
referenced this pull request
Nov 15, 2013
So I think this is better than the status quo, and still give it a . But, if we were to merge this, I'd want to open a new issue, "don't update git repos unless they are out of date." Because the ideal behavior is something like:
I'm not sure how much of this is possible given what information and technology we have available. (How do you tell what commit the local copy is on? What does 'getting metadata" mean? Are there easy ways to do this stuff for GitHub, but not for arbitrary Git servers?) I would bet, though, that Git-based package managers like Bower or Volo have already figured this out.
Probably something to tackle after install.js/cache.js gets some love. Anyway, yeah, ship this :). It is a nice unobtrusive change with good tests.