diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-08-24 16:21:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-24 16:21:51 -0700 |
commit | d2e30562620c9dda7b685f4d3bcb8acab537d97c (patch) | |
tree | 859af58dd3a1e66ff52958f502d7be6803e5e708 /git-config.html | |
parent | 0b5c6b0d7d93655c9d86ee9d071197aa8208e575 (diff) | |
download | git-htmldocs-d2e30562620c9dda7b685f4d3bcb8acab537d97c.tar.gz |
Autogenerated HTML docs for v2.33.0-69-gc4203
Diffstat (limited to 'git-config.html')
-rw-r--r-- | git-config.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git-config.html b/git-config.html index 46df82af4..f442117d7 100644 --- a/git-config.html +++ b/git-config.html @@ -1839,6 +1839,14 @@ pathname is expanded to the value of <code>$HOME</code>, and <code>~user/</code> to the
specified user’s home directory.
</p>
+<div class="paragraph"><p>If a path starts with <code>%(prefix)/</code>, 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, <code>%(prefix)/bin/</code> 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 <em>not</em> be expanded, it needs to be prefixed by
+<code>./</code>, like so: <code>./%(prefix)/bin</code>.</p></div>
</dd>
</dl></div>
</div>
|