python-for-android
python-for-android copied to clipboard
recipe: don't unnecessarily fetch git remotes.
For recipes using a git url, instead of hitting the remote repository on every run, be a bit smarter about it.
Unless self.version in a recipe points to a branch, the remote is only fetched when self.version is not the current HEAD, and self.version cannot be found in the local repo.