summaryrefslogtreecommitdiffstats
path: root/config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-08-24 16:21:51 -0700
committerJunio C Hamano <gitster@pobox.com>2021-08-24 16:21:51 -0700
commitd2e30562620c9dda7b685f4d3bcb8acab537d97c (patch)
tree859af58dd3a1e66ff52958f502d7be6803e5e708 /config.txt
parent0b5c6b0d7d93655c9d86ee9d071197aa8208e575 (diff)
downloadgit-htmldocs-d2e30562620c9dda7b685f4d3bcb8acab537d97c.tar.gz
Autogenerated HTML docs for v2.33.0-69-gc4203
Diffstat (limited to 'config.txt')
-rw-r--r--config.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.txt b/config.txt
index bf82766a6..0c0e6b859 100644
--- a/config.txt
+++ b/config.txt
@@ -298,6 +298,15 @@ pathname::
tilde expansion happens to such a string: `~/`
is expanded to the value of `$HOME`, and `~user/` to the
specified user's home directory.
++
+If a path starts with `%(prefix)/`, the remainder is interpreted as a
+path relative to Git's "runtime prefix", i.e. relative to the location
+where Git itself was installed. For example, `%(prefix)/bin/` refers to
+the directory in which the Git executable itself lives. If Git was
+compiled without runtime prefix support, the compiled-in prefix will be
+subsituted instead. In the unlikely event that a literal path needs to
+be specified that should _not_ be expanded, it needs to be prefixed by
+`./`, like so: `./%(prefix)/bin`.
Variables