diff options
| author | ilovezfs | 2016-04-04 03:18:55 -0700 |
|---|---|---|
| committer | ilovezfs | 2016-04-05 07:25:27 -0700 |
| commit | fad235d8e82ae57b2004429a0297f313aafa3186 (patch) | |
| tree | 02b3a8bfbfa5c0ae7deafc0b70fdb52c6bff0b6e /Library/Homebrew/manpages | |
| parent | 1b7e13df4f936dd318a23698b7b69bd2ca0e2487 (diff) | |
| download | brew-fad235d8e82ae57b2004429a0297f313aafa3186.tar.bz2 | |
tap: support --full even if installed
Makes `tap` re-runnable and unshallows when requested with `--full`.
Tapping with a different URL raises an exception.
The homebrew/core tap cannot be untapped with `untap` so running
`brew tap --full homebrew/core` is now a built-in way to get a full
clone of this tap without resorting to workarounds.
Closes #17.
Signed-off-by: ilovezfs <ilovezfs@icloud.com>
Diffstat (limited to 'Library/Homebrew/manpages')
| -rw-r--r-- | Library/Homebrew/manpages/brew.1.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 4863bcd5d..47b0517ef 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -394,7 +394,12 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note using protocols other than HTTPS, e.g., SSH, GIT, HTTP, FTP(S), RSYNC. By default, the repository is cloned as a shallow copy (`--depth=1`), but - if `--full` is passed, a full clone will be used. + if `--full` is passed, a full clone will be used. To convert a shallow copy + to a full copy, you can retap passing `--full` without first untapping. + + `tap` is re-runnable and exits successfully if there's nothing to do. + However, retapping with a different <URL> will cause an exception, so first + `untap` if you need to modify the <URL>. * `tap` `--repair`: Migrate tapped formulae from symlink-based to directory-based structure. |
