path: root/Documentation/gitremote-helpers.txt
diff options
authorMatthieu Moy <>2013-09-03 15:45:14 (GMT)
committerJunio C Hamano <>2013-09-03 18:57:53 (GMT)
commit597b831afb25303218ac60115ac86dd8879e3ce3 (patch)
treeb10ad6d0a1c2c9a3dda65a7c75b0c10a6cc239e5 /Documentation/gitremote-helpers.txt
parent8987cda9e1e1c36e5d0a9be6d371697e50773856 (diff)
transport-helper: add no-private-update capability
Since 664059fb (transport-helper: update remote helper namespace, 2013-04-17), a 'push' operation on a remote helper updates the private ref by default. This is often a good thing, but it can also be desirable to disable this update to force the next 'pull' to re-import the pushed revisions. Allow remote-helpers to disable the automatic update by introducing a new capability. Signed-off-by: Matthieu Moy <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/gitremote-helpers.txt')
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/gitremote-helpers.txt b/Documentation/gitremote-helpers.txt
index 0827f69..ee9e134 100644
--- a/Documentation/gitremote-helpers.txt
+++ b/Documentation/gitremote-helpers.txt
@@ -120,6 +120,11 @@ connecting (see the 'connect' command under COMMANDS).
When choosing between 'push' and 'export', Git prefers 'push'.
Other frontends may have some other order of preference.
+ When using the 'refspec' capability, git normally updates the
+ private ref on successful push. This update is disabled when
+ the remote-helper declares the capability 'no-private-update'.
Capabilities for Fetching