]> git.scripts.mit.edu Git - git.git/blobdiff - Documentation/config.txt
Merge branch 'jk/upload-pack-keepalive'
[git.git] / Documentation / config.txt
index b320b63b914714671eaedf5c641b5fb1287c00f2..c3f70023ec36ba523d95293fef7b20da64e7be3a 100644 (file)
@@ -2288,6 +2288,17 @@ uploadpack.allowtipsha1inwant::
        of a hidden ref (by default, such a request is rejected).
        see also `uploadpack.hiderefs`.
 
+uploadpack.keepalive::
+       When `upload-pack` has started `pack-objects`, there may be a
+       quiet period while `pack-objects` prepares the pack. Normally
+       it would output progress information, but if `--quiet` was used
+       for the fetch, `pack-objects` will output nothing at all until
+       the pack data begins. Some clients and networks may consider
+       the server to be hung and give up. Setting this option instructs
+       `upload-pack` to send an empty keepalive packet every
+       `uploadpack.keepalive` seconds. Setting this option to 0
+       disables keepalive packets entirely. The default is 5 seconds.
+
 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