mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
docs: update descriptions of git- and curl-related vars
Note that the `HOMEBREW_FORCE_BREWED_` vars are automatically set if the system `git` and `curl` are too old. Drop mention of `HOMEBREW_GIT` which isn't user-settable.
This commit is contained in:
parent
baf75af908
commit
9e4fb40f92
@ -10,7 +10,7 @@
|
|||||||
# When done, regenerate the man page and its HTML version by running `brew man`.
|
# When done, regenerate the man page and its HTML version by running `brew man`.
|
||||||
%>
|
%>
|
||||||
brew(1) -- The missing package manager for macOS
|
brew(1) -- The missing package manager for macOS
|
||||||
===============================================
|
================================================
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
|
|
||||||
@ -105,6 +105,7 @@ can take several different forms:
|
|||||||
The formula file will be cached for later use.
|
The formula file will be cached for later use.
|
||||||
|
|
||||||
## ENVIRONMENT
|
## ENVIRONMENT
|
||||||
|
|
||||||
Note that environment variables must have a value set to be detected. For example, `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just `export HOMEBREW_NO_INSECURE_REDIRECT`.
|
Note that environment variables must have a value set to be detected. For example, `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just `export HOMEBREW_NO_INSECURE_REDIRECT`.
|
||||||
|
|
||||||
* `HOMEBREW_ARTIFACT_DOMAIN`:
|
* `HOMEBREW_ARTIFACT_DOMAIN`:
|
||||||
@ -180,22 +181,16 @@ Note that environment variables must have a value set to be detected. For exampl
|
|||||||
editors will do strange things in this case.
|
editors will do strange things in this case.
|
||||||
|
|
||||||
* `HOMEBREW_FORCE_BREWED_CURL`:
|
* `HOMEBREW_FORCE_BREWED_CURL`:
|
||||||
If set, Homebrew will use a Homebrew-installed `curl` rather than the
|
If set, Homebrew will always use a Homebrew-installed `curl` rather than the
|
||||||
system version.
|
system version. Automatically set if the system version of `curl` is too old.
|
||||||
|
|
||||||
* `HOMEBREW_FORCE_VENDOR_RUBY`:
|
* `HOMEBREW_FORCE_VENDOR_RUBY`:
|
||||||
If set, Homebrew will always use its vendored, relocatable Ruby version
|
If set, Homebrew will always use its vendored, relocatable Ruby version
|
||||||
even if the system version of Ruby is new enough.
|
even if the system version of Ruby is new enough.
|
||||||
|
|
||||||
* `HOMEBREW_GIT`:
|
|
||||||
When using Git, Homebrew will use `GIT` if set,
|
|
||||||
a Homebrew-built Git if installed, or the system-provided binary.
|
|
||||||
|
|
||||||
Set this to force Homebrew to use a particular git binary.
|
|
||||||
|
|
||||||
* `HOMEBREW_FORCE_BREWED_GIT`:
|
* `HOMEBREW_FORCE_BREWED_GIT`:
|
||||||
If set, Homebrew will use a Homebrew-installed `git` rather than the
|
If set, Homebrew will always use a Homebrew-installed `git` rather than the
|
||||||
system version.
|
system version. Automatically set if the system version of `git` is too old.
|
||||||
|
|
||||||
* `HOMEBREW_GITHUB_API_TOKEN`:
|
* `HOMEBREW_GITHUB_API_TOKEN`:
|
||||||
A personal access token for the GitHub API, which you can create at
|
A personal access token for the GitHub API, which you can create at
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script because we support $GIT, $HOMEBREW_SVN, etc., Xcode-only and
|
# This script because we support $HOMEBREW_GIT, $HOMEBREW_SVN, etc., Xcode-only and
|
||||||
# no Xcode/CLT configurations. Order is careful to be what the user would want.
|
# no Xcode/CLT configurations. Order is careful to be what the user would want.
|
||||||
|
|
||||||
set +o posix
|
set +o posix
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
brew(1) -- The missing package manager for macOS
|
brew(1) -- The missing package manager for macOS
|
||||||
===============================================
|
================================================
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
|
|
||||||
@ -1100,6 +1100,7 @@ can take several different forms:
|
|||||||
The formula file will be cached for later use.
|
The formula file will be cached for later use.
|
||||||
|
|
||||||
## ENVIRONMENT
|
## ENVIRONMENT
|
||||||
|
|
||||||
Note that environment variables must have a value set to be detected. For example, `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just `export HOMEBREW_NO_INSECURE_REDIRECT`.
|
Note that environment variables must have a value set to be detected. For example, `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just `export HOMEBREW_NO_INSECURE_REDIRECT`.
|
||||||
|
|
||||||
* `HOMEBREW_ARTIFACT_DOMAIN`:
|
* `HOMEBREW_ARTIFACT_DOMAIN`:
|
||||||
@ -1175,22 +1176,16 @@ Note that environment variables must have a value set to be detected. For exampl
|
|||||||
editors will do strange things in this case.
|
editors will do strange things in this case.
|
||||||
|
|
||||||
* `HOMEBREW_FORCE_BREWED_CURL`:
|
* `HOMEBREW_FORCE_BREWED_CURL`:
|
||||||
If set, Homebrew will use a Homebrew-installed `curl` rather than the
|
If set, Homebrew will always use a Homebrew-installed `curl` rather than the
|
||||||
system version.
|
system version. Automatically set if the system version of `curl` is too old.
|
||||||
|
|
||||||
* `HOMEBREW_FORCE_VENDOR_RUBY`:
|
* `HOMEBREW_FORCE_VENDOR_RUBY`:
|
||||||
If set, Homebrew will always use its vendored, relocatable Ruby version
|
If set, Homebrew will always use its vendored, relocatable Ruby version
|
||||||
even if the system version of Ruby is new enough.
|
even if the system version of Ruby is new enough.
|
||||||
|
|
||||||
* `HOMEBREW_GIT`:
|
|
||||||
When using Git, Homebrew will use `GIT` if set,
|
|
||||||
a Homebrew-built Git if installed, or the system-provided binary.
|
|
||||||
|
|
||||||
Set this to force Homebrew to use a particular git binary.
|
|
||||||
|
|
||||||
* `HOMEBREW_FORCE_BREWED_GIT`:
|
* `HOMEBREW_FORCE_BREWED_GIT`:
|
||||||
If set, Homebrew will use a Homebrew-installed `git` rather than the
|
If set, Homebrew will always use a Homebrew-installed `git` rather than the
|
||||||
system version.
|
system version. Automatically set if the system version of `git` is too old.
|
||||||
|
|
||||||
* `HOMEBREW_GITHUB_API_TOKEN`:
|
* `HOMEBREW_GITHUB_API_TOKEN`:
|
||||||
A personal access token for the GitHub API, which you can create at
|
A personal access token for the GitHub API, which you can create at
|
||||||
|
@ -1297,22 +1297,15 @@ If set, Homebrew will use this editor when editing a single formula, or several
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_FORCE_BREWED_CURL\fR
|
\fBHOMEBREW_FORCE_BREWED_CURL\fR
|
||||||
If set, Homebrew will use a Homebrew\-installed \fBcurl\fR rather than the system version\.
|
If set, Homebrew will always use a Homebrew\-installed \fBcurl\fR rather than the system version\. Automatically set if the system version of \fBcurl\fR is too old\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_FORCE_VENDOR_RUBY\fR
|
\fBHOMEBREW_FORCE_VENDOR_RUBY\fR
|
||||||
If set, Homebrew will always use its vendored, relocatable Ruby version even if the system version of Ruby is new enough\.
|
If set, Homebrew will always use its vendored, relocatable Ruby version even if the system version of Ruby is new enough\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_GIT\fR
|
|
||||||
When using Git, Homebrew will use \fBGIT\fR if set, a Homebrew\-built Git if installed, or the system\-provided binary\.
|
|
||||||
.
|
|
||||||
.IP
|
|
||||||
Set this to force Homebrew to use a particular git binary\.
|
|
||||||
.
|
|
||||||
.TP
|
|
||||||
\fBHOMEBREW_FORCE_BREWED_GIT\fR
|
\fBHOMEBREW_FORCE_BREWED_GIT\fR
|
||||||
If set, Homebrew will use a Homebrew\-installed \fBgit\fR rather than the system version\.
|
If set, Homebrew will always use a Homebrew\-installed \fBgit\fR rather than the system version\. Automatically set if the system version of \fBgit\fR is too old\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_GITHUB_API_TOKEN\fR
|
\fBHOMEBREW_GITHUB_API_TOKEN\fR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user