From b5a7337b059c33d0c3a4bd70788095fcb401add8 Mon Sep 17 00:00:00 2001 From: cnnrmnn Date: Fri, 7 May 2021 09:29:19 -0400 Subject: [PATCH] Add deprecation paths for tap --full/--shallow --- Library/Homebrew/cmd/tap.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index ed69bc4425..2713cf4637 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -27,6 +27,13 @@ module Homebrew assumptions, so taps can be cloned from places other than GitHub and using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync. EOS + # odeprecated "brew tap --full" + switch "--full", + description: "Convert a shallow clone to a full clone without untapping. Taps are only cloned as "\ + "shallow clones if `--shallow` was originally passed." + # odeprecated "brew tap --shallow" + switch "--shallow", + description: "Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration." switch "--force-auto-update", description: "Auto-update tap even if it is not hosted on GitHub. By default, only taps "\ "hosted on GitHub are auto-updated (for performance reasons)."