summaryrefslogtreecommitdiffstats
path: root/gitremote-helpers.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-12 16:25:03 -0700
committerJunio C Hamano <gitster@pobox.com>2013-09-12 16:25:03 -0700
commit0e0e0d2656a57fd3628bb6dbdaf0096684ed24a9 (patch)
treee99a24b58f6b164bba36d9caf27672deed887802 /gitremote-helpers.html
parentcf4a17477022e58e1394a8ae62a80c9e40ff0ef5 (diff)
downloadgit-htmldocs-0e0e0d2656a57fd3628bb6dbdaf0096684ed24a9.tar.gz
Autogenerated HTML docs for v1.8.4-299-gb3e7d
Diffstat (limited to 'gitremote-helpers.html')
-rw-r--r--gitremote-helpers.html19
1 files changed, 18 insertions, 1 deletions
diff --git a/gitremote-helpers.html b/gitremote-helpers.html
index bc75ed917..d6bfa25ad 100644
--- a/gitremote-helpers.html
+++ b/gitremote-helpers.html
@@ -866,6 +866,18 @@ fall back to another capability if the helper requests so when
connecting (see the <em>connect</em> command under COMMANDS).
When choosing between <em>push</em> and <em>export</em>, Git prefers <em>push</em>.
Other frontends may have some other order of preference.</p></div>
+<div class="dlist"><dl>
+<dt class="hdlist1">
+<em>no-private-update</em>
+</dt>
+<dd>
+<p>
+ When using the <em>refspec</em> capability, git normally updates the
+ private ref on successful push. This update is disabled when
+ the remote-helper declares the capability <em>no-private-update</em>.
+</p>
+</dd>
+</dl></div>
</div>
<div class="sect3">
<h4 id="_capabilities_for_fetching">Capabilities for Fetching</h4>
@@ -953,6 +965,11 @@ applicable refspec takes precedence. The left-hand of refspecs
advertised with this capability must cover all refs reported by
the list command. If no <em>refspec</em> capability is advertised,
there is an implied <code>refspec *:*</code>.</p></div>
+<div class="paragraph"><p>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.</p></div>
</dd>
<dt class="hdlist1">
<em>bidi-import</em>
@@ -1307,7 +1324,7 @@ set by Git if the remote helper has the <em>option</em> capability.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-09-09 15:34:20 PDT
+Last updated 2013-09-12 16:24:44 PDT
</div>
</div>
</body>