diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-06 14:34:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-06 14:34:15 -0700 |
commit | c6c919b870e00b3afac46972e322d36bb8bd7033 (patch) | |
tree | 05cae3540265b1dab96cf754e837a8318b204f70 /config.txt | |
parent | 042f2148898f2f73342c586887b252715dd8af8a (diff) | |
download | git-htmldocs-c6c919b870e00b3afac46972e322d36bb8bd7033.tar.gz |
Autogenerated HTML docs for v2.9.0-243-g5c589
Diffstat (limited to 'config.txt')
-rw-r--r-- | config.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config.txt b/config.txt index 626243f61..e208af118 100644 --- a/config.txt +++ b/config.txt @@ -2892,6 +2892,21 @@ uploadpack.keepAlive:: `uploadpack.keepAlive` seconds. Setting this option to 0 disables keepalive packets entirely. The default is 5 seconds. +uploadpack.packObjectsHook:: + If this option is set, when `upload-pack` would run + `git pack-objects` to create a packfile for a client, it will + run this shell command instead. The `pack-objects` command and + arguments it _would_ have run (including the `git pack-objects` + at the beginning) are appended to the shell command. The stdin + and stdout of the hook are treated as if `pack-objects` itself + was run. I.e., `upload-pack` will feed input intended for + `pack-objects` to the hook, and expects a completed packfile on + stdout. ++ +Note that this configuration variable is ignored if it is seen in the +repository-level config (this is a safety measure against fetching from +untrusted repositories). + url.<base>.insteadOf:: Any URL that starts with this value will be rewritten to start, instead, with <base>. In cases where some site serves a |