transport-helper: add no-private-update capability
commit597b831afb25303218ac60115ac86dd8879e3ce3
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Tue, 3 Sep 2013 15:45:14 +0000 (3 17:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Sep 2013 18:57:53 +0000 (3 11:57 -0700)
treeb10ad6d0a1c2c9a3dda65a7c75b0c10a6cc239e5
parent8987cda9e1e1c36e5d0a9be6d371697e50773856
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 <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitremote-helpers.txt
git-remote-testgit.sh
t/t5801-remote-helpers.sh
transport-helper.c