diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-27 19:59:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-27 19:59:27 +0200 |
commit | 4e87565d2a3e315b7afc39e9e1fe98c5607a1b11 (patch) | |
tree | 6f268f4c98d8c9a06536a5a2fbea5ee9a7df83fc /Documentation | |
parent | Merge branch 'km/t1400-modernization' (diff) | |
parent | remote-curl: allow push options (diff) | |
download | git-4e87565d2a3e315b7afc39e9e1fe98c5607a1b11.tar.xz git-4e87565d2a3e315b7afc39e9e1fe98c5607a1b11.zip |
Merge branch 'sb/push-options-via-transport'
Recently we started passing the "--push-options" through the
external remote helper interface; now the "smart HTTP" remote
helper understands what to do with the passed information.
* sb/push-options-via-transport:
remote-curl: allow push options
send-pack: send push options correctly in stateless-rpc case
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-send-pack.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-send-pack.txt b/Documentation/git-send-pack.txt index a831dd0288..966abb0df8 100644 --- a/Documentation/git-send-pack.txt +++ b/Documentation/git-send-pack.txt @@ -81,6 +81,12 @@ be in a separate packet, and the list must end with a flush packet. will also fail if the actual call to `gpg --sign` fails. See linkgit:git-receive-pack[1] for the details on the receiving end. +--push-option=<string>:: + Pass the specified string as a push option for consumption by + hooks on the server side. If the server doesn't support push + options, error out. See linkgit:git-push[1] and + linkgit:githooks[5] for details. + <host>:: A remote host to house the repository. When this part is specified, 'git-receive-pack' is invoked via |