Skip to content
Snippets Groups Projects
  • Mike McQuaid's avatar
    3710beda
    download_strategy: fix Git repo updating. · 3710beda
    Mike McQuaid authored
    Git repositories should always be updated when the ref is a branch.
    They should be also updated if no ref was specified or if the ref isn’t
    present. This stops the repo being updated if we’re building a specific
    revision and it is present. Additionally, this stops the update barfing
    on repositories where we’re using a revision and there is no upstream
    `master` branch.
    
    Closes Homebrew/homebrew#29218.
    3710beda
    History
    download_strategy: fix Git repo updating.
    Mike McQuaid authored
    Git repositories should always be updated when the ref is a branch.
    They should be also updated if no ref was specified or if the ref isn’t
    present. This stops the repo being updated if we’re building a specific
    revision and it is present. Additionally, this stops the update barfing
    on repositories where we’re using a revision and there is no upstream
    `master` branch.
    
    Closes Homebrew/homebrew#29218.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.