aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorMike McQuaid2016-04-25 18:51:00 -0500
committerMike McQuaid2016-04-25 18:51:00 -0500
commitdf489cfde25b9ea59fdf12c67876a18c13dde4aa (patch)
tree01d2081cf38d49915855f287e3e72a98e6991c46 /share
parent421cd5365f50702636632106a81b640331daff23 (diff)
downloadbrew-df489cfde25b9ea59fdf12c67876a18c13dde4aa.tar.bz2
More analytics tweaks.
Provide a single command that can be run to disable analytics, run it if `HOMEBREW_NO_ANALYTICS` is ever set and remove the user UUID file in that case too. References https://github.com/Homebrew/brew/issues/142.
Diffstat (limited to 'share')
-rw-r--r--share/doc/homebrew/Analytics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/doc/homebrew/Analytics.md b/share/doc/homebrew/Analytics.md
index e23ca2923..a12e7e889 100644
--- a/share/doc/homebrew/Analytics.md
+++ b/share/doc/homebrew/Analytics.md
@@ -44,4 +44,4 @@ Homebrew's analytics are accessible to Homebrew's current maintainers. Contact @
The code is viewable in https://github.com/Homebrew/brew/blob/master/Library/Homebrew/utils/analytics.rb and https://github.com/Homebrew/brew/blob/master/Library/Homebrew/utils/analytics.sh. They are done in a separate background process and fail fast to avoid delaying any execution. They will fail immediately and silently if you have no network connection.
## Opting-out
-If after everything you've read you still wish to opt-out of Homebrew's analytics you may set `HOMEBREW_NO_ANALYTICS=1` in your environment which will prevent analytics from ever being sent when it is set.
+If after everything you've read you still wish to opt-out of Homebrew's analytics you may set `HOMEBREW_NO_ANALYTICS=1` in your environment or run `git config --file="$(brew --repository)/.git/config" --replace-all homebrew.analyticsdisabled true` which will prevent analytics from ever being sent when either or them have been set.