Thread (1 message) 1 message, 1 author, 2017-02-08

Re: [PATCH] push options: fail properly in the stateless case

From: Junio C Hamano <hidden>
Date: 2017-02-08 23:02:11

Stefan Beller [off-list ref] writes:
quoted
quoted
+'option push-option <c-string>::
+     Transmit this push option.
+
There is no "c-string" in the current documentation used or
defined.  The closest thing I found is

    ... that field will be quoted in the manner of a C string ...

in git-status page, but I do not think you send the value for an
push-option after running quote_c_style(), so I am puzzled.
When implementing push options, we discussed that and according to
Documentation/git-push:

    The given string must not contain a NUL or LF character.
OK, so "Transmit <string> as a push option" is sufficient, as the
string is sent as-is.  OK.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help