summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-09-12 14:41:50 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-12 14:41:50 -0700
commit7b828a0514a316b17c89e7f6b591fef539836c88 (patch)
tree517ea148770f32b5e1d1c8aac76ded834d77ac2b
parentMerge branch 'mn/doc-pack-heu-remove-dead-pastebin' (diff)
parentDocumentation/remote-helpers: document common use-case for private ref (diff)
downloadtgif-7b828a0514a316b17c89e7f6b591fef539836c88.tar.xz
Merge branch 'mm/remote-helpers-doc'
* mm/remote-helpers-doc: Documentation/remote-helpers: document common use-case for private ref
-rw-r--r--Documentation/gitremote-helpers.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/gitremote-helpers.txt b/Documentation/gitremote-helpers.txt
index be7e224a03..f1f4ca9727 100644
--- a/Documentation/gitremote-helpers.txt
+++ b/Documentation/gitremote-helpers.txt
@@ -185,6 +185,12 @@ applicable refspec takes precedence. The left-hand of refspecs
advertised with this capability must cover all refs reported by
the list command. If no 'refspec' capability is advertised,
there is an implied `refspec *:*`.
++
+When writing remote-helpers for decentralized version control
+systems, it is advised to keep a local copy of the repository to
+interact with, and to let the private namespace refs point to this
+local repository, while the refs/remotes namespace is used to track
+the remote repository.
'bidi-import'::
This modifies the 'import' capability.