diff options
| author | Mike McQuaid | 2014-05-13 16:17:58 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-05-13 16:23:06 +0100 |
| commit | 3710beda66913b279f8767dc212977cd963de3b8 (patch) | |
| tree | 668ad7601c80db517e6932c6969177144e6d5a04 /Library/Homebrew/extend | |
| parent | a78b9063892aeb4e5084edcfc7ed873587997abc (diff) | |
| download | brew-3710beda66913b279f8767dc212977cd963de3b8.tar.bz2 | |
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.
Diffstat (limited to 'Library/Homebrew/extend')
0 files changed, 0 insertions, 0 deletions
