diff options
author | Stefan Beller <sbeller@google.com> | 2017-02-08 14:04:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-08 15:45:01 -0800 |
commit | 438fc68462d5839ef6ca231cdcb411105eaf0ba2 (patch) | |
tree | a3cb6629e7da46a4888232c2a789af6954cbf95d /Documentation/gitremote-helpers.txt | |
parent | 6e3a7b3398559305c7a239a42e447c21a8f39ff8 (diff) | |
download | git-438fc68462d5839ef6ca231cdcb411105eaf0ba2.tar.gz |
push options: pass push options to the transport helper
When using non-builtin protocols relying on a transport helper
(such as http), push options are not propagated to the helper.
The user could ask for push options and a push would seemingly succeed,
but the push options would never be transported to the server,
misleading the users expectation.
Fix this by propagating the push options to the transport helper.
This is only addressing the first issue of
(1) the helper protocol does not propagate push-option
(2) the http helper is not prepared to handle push-option
Once we fix (2), the http transport helper can make use of push options
as well, but that happens as a follow up. (1) is a bug fix, whereas (2)
is a feature, which is why we only do (1) here.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitremote-helpers.txt')
-rw-r--r-- | Documentation/gitremote-helpers.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/gitremote-helpers.txt b/Documentation/gitremote-helpers.txt index 9e8681f9e1..23474b1eab 100644 --- a/Documentation/gitremote-helpers.txt +++ b/Documentation/gitremote-helpers.txt @@ -462,6 +462,10 @@ set by Git if the remote helper has the 'option' capability. 'option pushcert {'true'|'false'}:: GPG sign pushes. +'option push-option <string>:: + Transmit <string> as a push option. As the a push option + must not contain LF or NUL characters, the string is not encoded. + SEE ALSO -------- linkgit:git-remote[1] |