Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSiddharth Asthana <siddharthasthana31@gmail.com>2022-09-11 20:00:02 +0300
committerSiddharth Asthana <siddharthasthana31@gmail.com>2022-11-02 15:00:58 +0300
commite96d17dacddc01d3942a52f177995fb743f90b53 (patch)
tree62c912f5261d7d1e37929ee6110d7aa1f156d1b4 /doc
parentbd8c3c94e2d9eb61ffedd91ea34902a9e89e9448 (diff)
doc/git-exec-env: Update Gitaly Git Distribution method
Changelog: other
Diffstat (limited to 'doc')
-rw-r--r--doc/git-execution-environments.md23
1 files changed, 14 insertions, 9 deletions
diff --git a/doc/git-execution-environments.md b/doc/git-execution-environments.md
index e4aacd608..76f68053a 100644
--- a/doc/git-execution-environments.md
+++ b/doc/git-execution-environments.md
@@ -103,14 +103,19 @@ issues we have observed.
While we backport patches that have been accepted in the upstream Git project,
we do not plan to apply patches that will not eventually end up in Git itself.
-To use Gitaly's Git distribution, run `make git`. This Make target automatically
-fetches, builds, and installs Git into a specific directory that is configurable
-with the `GIT_PREFIX` environment variable. For example, to install the Git
-distribution into `/usr/local`:
+To use Gitaly's Git distribution, run `make install-git`. This Make target
+automatically fetches, builds, and installs Git into a specific directory that
+is configurable with the `GIT_PREFIX` environment variable. The version of Git
+is configurable using the `GIT_VERSION` environment variable. For example, to
+install the Git version 2.37.3 into `/usr/local`:
-```shell
-make git GIT_PREFIX=/usr/local
-```
+1. Run the command `make GIT_VERSION=2.37.3 GIT_PREFIX=/usr/local install-git`
+ to build Git v2.37.3 and install it in `/usr/local`.
+1. Configure Gitaly to use the Git distribution:
-Then configure the Git distribution the same way as an external Git
-distribution.
+```toml
+# Git settings
+[git]
+use_bundled_binaries = false
+bin_path = "/usr/local/bin/git"
+```