diff options
| author | Mike McQuaid | 2017-05-29 15:13:08 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-05-29 15:13:08 +0100 |
| commit | d7e2d5be36f2c14ddf4e2e8c5cc34001ab8b4ac5 (patch) | |
| tree | 8e378168273ba1517483857c1b429dd2b46c4532 /Library/Homebrew/dev-cmd/audit.rb | |
| parent | dbf10cc06e12d415f9913f24040566555242463d (diff) | |
| download | brew-d7e2d5be36f2c14ddf4e2e8c5cc34001ab8b4ac5.tar.bz2 | |
update-test: tweak more edge cases.
Don't try to `fetch --depth=1` unless we've confirmed the repository is
already shallow. Otherwise this can discard history from a full clone.
Additionally, if the repository wasn't shallow but there's no tags found
assume that Git is too old and try a naive sort if on Linux where `sort`
is able to sort versions.
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
0 files changed, 0 insertions, 0 deletions
