summaryrefslogtreecommitdiff
path: root/Documentation/gitremote-helpers.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-09 14:30:01 -0700
committerJunio C Hamano <gitster@pobox.com>2013-09-09 14:30:01 -0700
commit711b2769740637e228c8200927e96b31f2065d32 (patch)
tree423a57f9f9edc28bbca1c9d607cae0fa72782884 /Documentation/gitremote-helpers.txt
parent01a2a03c56e8d4cd9724b185a48a2a1ea9852f0c (diff)
parent9ba380481cc3a5ae7706763d71cf8844917ed804 (diff)
downloadgit-711b2769740637e228c8200927e96b31f2065d32.tar.gz
Merge branch 'nd/clone-connectivity-shortcut'
* nd/clone-connectivity-shortcut: smart http: use the same connectivity check on cloning
Diffstat (limited to 'Documentation/gitremote-helpers.txt')
-rw-r--r--Documentation/gitremote-helpers.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/gitremote-helpers.txt b/Documentation/gitremote-helpers.txt
index 0827f69139..bc069c23df 100644
--- a/Documentation/gitremote-helpers.txt
+++ b/Documentation/gitremote-helpers.txt
@@ -143,6 +143,10 @@ Supported commands: 'list', 'fetch'.
+
Supported commands: 'list', 'import'.
+'check-connectivity'::
+ Can guarantee that when a clone is requested, the received
+ pack is self contained and is connected.
+
If a helper advertises 'connect', Git will use it if possible and
fall back to another capability if the helper requests so when
connecting (see the 'connect' command under COMMANDS).
@@ -270,6 +274,9 @@ Optionally may output a 'lock <file>' line indicating a file under
GIT_DIR/objects/pack which is keeping a pack until refs can be
suitably updated.
+
+If option 'check-connectivity' is requested, the helper must output
+'connectivity-ok' if the clone is self-contained and connected.
++
Supported if the helper has the "fetch" capability.
'push' +<src>:<dst>::
@@ -416,6 +423,9 @@ set by Git if the remote helper has the 'option' capability.
must not rely on this option being set before
connect request occurs.
+'option check-connectivity' \{'true'|'false'\}::
+ Request the helper to check connectivity of a clone.
+
SEE ALSO
--------
linkgit:git-remote[1]