Skip to content
Snippets Groups Projects
Commit 3710beda authored by Mike McQuaid's avatar Mike McQuaid
Browse files

download_strategy: fix Git repo updating.

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.
parent a78b9063
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment