[PATCH] http: add support for specifying the SSL version

2015-08-12 Thread Elia Pinto
Teach git about a new option, "http.sslVersion", which permits one to specify the SSL version to use when negotiating SSL connections. The setting can be overridden by the GIT_SSL_VERSION environment variable. Signed-off-by: Elia Pinto --- Documentation/config.txt

Re: [PATCH] http: add support for specifying the SSL version

2015-08-12 Thread Elia Pinto
2015-08-12 15:33 GMT+02:00 Remi Galan Alfonso : > Hello, Elia > > Elia Pinto writes: >> +if (ssl_version != NULL && *ssl_version) { >> +if (!strcmp(ssl_version,"tlsv1")) { >> +sslversion = CURL_SS

[PATCH v2] http: add support for specifying the SSL version

2015-08-12 Thread Elia Pinto
Teach git about a new option, "http.sslVersion", which permits one to specify the SSL version to use when negotiating SSL connections. The setting can be overridden by the GIT_SSL_VERSION environment variable. Signed-off-by: Elia Pinto --- This is the second version. I moved out o

Re: [PATCH v2] http: add support for specifying the SSL version

2015-08-13 Thread Elia Pinto
2015-08-12 17:16 GMT+02:00 Junio C Hamano : > Elia Pinto writes: > >> diff --git a/http.c b/http.c >> index e9c6fdd..1504005 100644 >> --- a/http.c >> +++ b/http.c >> @@ -37,6 +37,8 @@ static int curl_ssl_verify = -1; >> static int curl_ssl_try; >>

[PATCH v3] http: add support for specifying the SSL version

2015-08-13 Thread Elia Pinto
Teach git about a new option, "http.sslVersion", which permits one to specify the SSL version to use when negotiating SSL connections. The setting can be overridden by the GIT_SSL_VERSION environment variable. Signed-off-by: Elia Pinto --- This is the third version of the patch. T

Re: [PATCH v3] http: add support for specifying the SSL version

2015-08-13 Thread Elia Pinto
2015-08-13 17:47 GMT+02:00 Eric Sunshine : > On Thu, Aug 13, 2015 at 11:28 AM, Elia Pinto wrote: >> Teach git about a new option, "http.sslVersion", which permits one to >> specify the SSL version to use when negotiating SSL connections. The >> setting can be ov

Re: [PATCH v3] http: add support for specifying the SSL version

2015-08-13 Thread Elia Pinto
2015-08-13 18:01 GMT+02:00 Torsten Bögershausen : > (need to drop Eric from cc-list, no DNS from web.de) > > On 2015-08-13 17.28, Elia Pinto wrote: >> Teach git about a new option, "http.sslVersion", which permits one to >> specify the SSL version to use when ne

Re: [PATCH v3] http: add support for specifying the SSL version

2015-08-13 Thread Elia Pinto
2015-08-13 18:11 GMT+02:00 Eric Sunshine : > On Thu, Aug 13, 2015 at 11:58 AM, Elia Pinto wrote: >> 2015-08-13 17:47 GMT+02:00 Eric Sunshine : >>> On Thu, Aug 13, 2015 at 11:28 AM, Elia Pinto >>> wrote: >>>> Teach git about a new option, "http.sslVer

Re: [PATCH v3] http: add support for specifying the SSL version

2015-08-13 Thread Elia Pinto
2015-08-13 18:24 GMT+02:00 Ilari Liusvaara : > On Thu, Aug 13, 2015 at 06:10:48PM +0200, Elia Pinto wrote: >> 2015-08-13 18:01 GMT+02:00 Torsten Bögershausen : >> >> + >> > from >> > https://en.wikipedia.org/wiki/Transport_Layer_Security#SSL_1.0.2C_2.0_and_

[PATCHv4] http: add support for specifying the SSL version

2015-08-14 Thread Elia Pinto
Teach git about a new option, "http.sslVersion", which permits one to specify the SSL version to use when negotiating SSL connections. The setting can be overridden by the GIT_SSL_VERSION environment variable. Signed-off-by: Elia Pinto --- This is the fourth revision of the patch. Ch

[PATCHv5] http: add support for specifying the SSL version

2015-08-14 Thread Elia Pinto
Teach git about a new option, "http.sslVersion", which permits one to specify the SSL version to use when negotiating SSL connections. The setting can be overridden by the GIT_SSL_VERSION environment variable. Signed-off-by: Elia Pinto --- This is the fifth version of the patch. Ch

Re: [PATCH v3] http: add support for specifying the SSL version

2015-08-14 Thread Elia Pinto
2015-08-14 19:21 GMT+02:00 Junio C Hamano : > Torsten Bögershausen writes: > >>> diff --git a/Documentation/config.txt b/Documentation/config.txt >>> index 315f271..b23b01a 100644 >>> --- a/Documentation/config.txt >>> +++ b/Documentation/config.txt >>> @@ -1595,6 +1595,28 @@ http.saveCookies:: >>

Re: [PATCHv5] http: add support for specifying the SSL version

2015-08-15 Thread Elia Pinto
2015-08-14 23:32 GMT+02:00 Junio C Hamano : > Elia Pinto writes: > >> Teach git about a new option, "http.sslVersion", which permits one to >> specify the SSL version to use when negotiating SSL connections. The >> setting can be overridden by the GIT_S

[PATCHv2 1/2] builtin/commit.c: drop use snprintf via dynamic allocation

2017-01-10 Thread Elia Pinto
In general snprintf is bad because it may silently truncate results if we're wrong. In this patch where we use PATH_MAX, we'd want to handle larger paths anyway, so we switch to dynamic allocation. Helped-by: Jeff King Signed-off-by: Elia Pinto --- This is the second version of the

[PATCHv2 2/2] builtin/commit.c: drop use snprintf via dynamic allocation

2017-01-10 Thread Elia Pinto
ned-off-by: Elia Pinto --- This is the second version of the patch. I have split the original commit in two, as discussed here http://public-inbox.org/git/20161213132717.42965-1-gitter.spi...@gmail.com/. builtin/commit.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCHv3 2/2] builtin/commit.c: switch to xstrfmt(), instead of snprintf,

2017-01-13 Thread Elia Pinto
ve to count bytes needed for static allocation. As a side effect of this patch we have also reduced the snprintf() calls, that may silently truncate results if the programmer is not careful. Helped-by: Junio C Hamano Helped-by: Jeff King Signed-off-by: Elia Pinto --- This is the third versi

[PATCHv3 1/2] builtin/commit.c: removes the PATH_MAX limitation via dynamic allocation

2017-01-13 Thread Elia Pinto
f the programmer is not careful. Helped-by: Junio C Hamano Helped-by: Jeff King Signed-off-by: Elia Pinto --- This is the third version of the patch. Changes from the first version: I have split the original commit in two, as discussed here http://public-inbox.org/git/20161213132717.42965-1-gitte

Re: [PATCHv3 2/2] builtin/commit.c: switch to xstrfmt(), instead of snprintf,

2017-01-14 Thread Elia Pinto
Ok. I agree. But is it strictly necessary to resend for this ? Thanks 2017-01-13 19:33 GMT+01:00 Brandon Williams : > On 01/13, Elia Pinto wrote: >> In this patch, instead of using xnprintf instead of snprintf, which asserts >> that we don't truncate, we are switching to dyn

Re: [PATCHv3 2/2] builtin/commit.c: switch to xstrfmt(), instead of snprintf,

2017-01-15 Thread Elia Pinto
2017-01-15 3:42 GMT+01:00 Junio C Hamano : > Elia Pinto writes: > >> Ok. I agree. But is it strictly necessary to resend for this ? > > FWIW, the attacched is what I queued locally, after complaining > "both have the same title? They need to be explained better."

[PATCHv4] builtin/commit.c: switch to strbuf, instead of snprintf()

2017-01-31 Thread Elia Pinto
change, we also reduce the snprintf() calls, that may silently truncate results if the programmer is not careful. Helped-by: René Scharfe Helped-by: Junio C Hamano Helped-by: Jeff King Signed-off-by: Elia Pinto --- This is the fourth patch version. Changes from the first version: I have split

[PATCH] builtin/commit.c: convert trivial snprintf calls to xsnprintf

2016-12-13 Thread Elia Pinto
. Signed-off-by: Elia Pinto --- builtin/commit.c | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/builtin/commit.c b/builtin/commit.c index 0ed634b26..37228330c 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -960,15 +960,16 @@ static int

[PATCH v6 2/2] imap-send.c: introduce the GIT_TRACE_CURL enviroment variable

2016-05-20 Thread Elia Pinto
Permit the use of the GIT_TRACE_CURL environment variable calling the setup_curl_trace http.c helper routine. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- imap-send.c | 1 + 1

[PATCH v6 1/2] http.c: implement the GIT_TRACE_CURL environment variable

2016-05-20 Thread Elia Pinto
GIT_TRACE_CURL environment variable. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- Documentation/git.txt | 8 http.c| 124

[PATCH v6 0/2] Implement the GIT_TRACE_CURL environment variable

2016-05-20 Thread Elia Pinto
var - curl_dump and curl_trace factored out to a shared implementation in http.c Elia Pinto (2): http.c: implement the GIT_TRACE_CURL environment variable imap-send.c: introduce the GIT_TRACE_CURL enviroment variable Documentation/git.txt | 8 http.c| 123 ++

[PATCH v7 2/2] imap-send.c: introduce the GIT_TRACE_CURL enviroment variable

2016-05-23 Thread Elia Pinto
Permit the use of the GIT_TRACE_CURL environment variable calling the setup_curl_trace http.c helper routine. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- imap-send.c | 1 + 1

[PATCH v7 0/2] Implement the GIT_TRACE_CURL environment variable

2016-05-23 Thread Elia Pinto
pe sequences instead of the hex equivalent - dropped the previous GIT_DEBUG_CURL env var - curl_dump and curl_trace factored out to a shared implementation in http.c Elia Pinto (2): http.c: implement the GIT_TRACE_CURL environment variable imap-send.c: introduce the GIT_TRACE_CURL enviro

[PATCH v7 1/2] http.c: implement the GIT_TRACE_CURL environment variable

2016-05-23 Thread Elia Pinto
GIT_TRACE_CURL environment variable. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- Documentation/git.txt | 8 http.c| 125

[PATCH 08/10] refs.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- refs.c | 2 +- 1 file changed, 1 insertion

[PATCH 09/10] transport-helper.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- transport-helper.c | 4 +--- 1 file changed, 1

[PATCH 10/10] wrapper.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- wrapper.c | 7 +-- 1 file changed, 1

[PATCH 04/10] combine-diff.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- combine-diff.c | 2 +- 1 file changed, 1

[PATCH 05/10] compat/inet_ntop.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- compat/inet_ntop.c | 2 +- 1 file changed, 1

[PATCH 03/10] builtin/tag.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- builtin/tag.c | 2 +- 1 file changed, 1

[PATCH 06/10] diff.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- diff.c | 6 +++--- 1 file changed, 3

[PATCH 01/10] builtin/commit.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- builtin/commit.c | 2 +- 1 file changed, 1

[PATCH 02/10] builtin/index-pack.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- builtin/index-pack.c | 2 +- 1 file changed, 1

[PATCH 07/10] fast-import.c: convert trivial snprintf calls to xsnprintf

2016-06-03 Thread Elia Pinto
or the presence of truncation errors. - A call to snprintf can generate a fatal error, directly or indirectly. The other few remaining cases in which a call to snprintf can generate a soft error have not been changed. Signed-off-by: Elia Pinto --- fast-import.c | 5 + 1 file changed, 1

Re: What's cooking in git.git (Jun 2016, #04; Tue, 14)

2016-06-15 Thread Elia Pinto
2016-06-15 0:08 GMT+02:00 Junio C Hamano : > Here are the topics that have been cooking. Commits prefixed with > '-' are only in 'pu' (proposed updates) while commits prefixed with > '+' are in 'next'. The ones marked with '.' do not appear in any of > the integration branches, but I am still hol

[PATCH 0/4] test suite: use the GIT_TRACE_CURL environment var

2016-09-05 Thread Elia Pinto
Use the new GIT_TRACE_CURL environment variable in the test suite instead of the deprecated GIT_CURL_VERBOSE. Elia Pinto (4): t5541-http-push-smart.sh: use the GIT_TRACE_CURL environment var test-lib.sh: preserve GIT_TRACE_CURL from the environment t5550-http-fetch-dumb.sh: use the

[PATCH 3/4] t5550-http-fetch-dumb.sh: use the GIT_TRACE_CURL environment var

2016-09-05 Thread Elia Pinto
Use the new GIT_TRACE_CURL environment variable instead of the deprecated GIT_CURL_VERBOSE. Signed-off-by: Elia Pinto --- t/t5550-http-fetch-dumb.sh | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/t/t5550-http-fetch-dumb.sh b/t/t5550-http-fetch-dumb.sh index

[PATCH 4/4] t5551-http-fetch-smart.sh: use the GIT_TRACE_CURL environment var

2016-09-05 Thread Elia Pinto
Use the new GIT_TRACE_CURL environment variable instead of the deprecated GIT_CURL_VERBOSE. Signed-off-by: Elia Pinto --- t/t5551-http-fetch-smart.sh | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/t/t5551-http-fetch-smart.sh b/t/t5551-http-fetch-smart.sh

[PATCH 2/4] test-lib.sh: preserve GIT_TRACE_CURL from the environment

2016-09-05 Thread Elia Pinto
Turning on this variable can be useful when debugging http tests. It can break a few tests in t5541 if not set to an absolute path but it is not a variable that the user is likely to have enabled accidentally. Signed-off-by: Elia Pinto --- t/test-lib.sh | 1 + 1 file changed, 1 insertion

[PATCH 1/4] t5541-http-push-smart.sh: use the GIT_TRACE_CURL environment var

2016-09-05 Thread Elia Pinto
Use the new GIT_TRACE_CURL environment variable instead of the deprecated GIT_CURL_VERBOSE. Signed-off-by: Elia Pinto --- t/t5541-http-push-smart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t5541-http-push-smart.sh b/t/t5541-http-push-smart.sh index 4840c71..d38bf32

Re: [PATCH 3/4] t5550-http-fetch-dumb.sh: use the GIT_TRACE_CURL environment var

2016-09-05 Thread Elia Pinto
2016-09-05 15:43 GMT+02:00 Eric Sunshine : > On Mon, Sep 5, 2016 at 6:24 AM, Elia Pinto wrote: >> Use the new GIT_TRACE_CURL environment variable instead >> of the deprecated GIT_CURL_VERBOSE. >> >> Signed-off-by: Elia Pinto >> --- >> diff --git a/t/t5550-

[PATCHv1 3/4] t5550-http-fetch-dumb.sh: use the GIT_TRACE_CURL environment var

2016-09-05 Thread Elia Pinto
Use the new GIT_TRACE_CURL environment variable instead of the deprecated GIT_CURL_VERBOSE. Signed-off-by: Elia Pinto --- Drop leftover debugging junk from previous patch t/t5550-http-fetch-dumb.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/t/t5550-http

[PATCH] git-check-ref-format.txt: fixup documentation

2016-09-20 Thread Elia Pinto
die is not a standard shell function. Use a different shell code for the example. Signed-off-by: Elia Pinto --- Documentation/git-check-ref-format.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/git-check-ref-format.txt b/Documentation/git-check-ref

[PATCHv2 2/2] http: use credential API to handle proxy authentication

2016-01-26 Thread Elia Pinto
parsing of http_proxy/https_proxy/all_proxy environment variables, which would otherwise be evaluated as a fallback by curl. Without this, we would have different semantics for git configuration and environment variables. Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Elia Pinto

[PATCHv2 1/2] http: allow selection of proxy authentication method

2016-01-26 Thread Elia Pinto
GIT_HTTP_PROXY_AUTHMETHOD or configuration variables http.proxyAuthmethod and remote..proxyAuthmethod (in analogy to http.proxy and remote..proxy). The following values are supported: * anyauth (default) * basic * digest * negotiate * ntlm Signed-off-by: Knut Franke Signed-off-by: Elia Pinto Helped-by: Junio C

[PATCH 14/15] git-am.sh: replace using expr for arithmetic operations with the equivalent shell builtin

2016-02-04 Thread Elia Pinto
than their equivalents in expr. Newly written scripts should avoid expr in favor of the new features within the shell." Signed-off-by: Elia Pinto --- git-am.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git-am.sh b/git-am.sh index ee61a77..4f8148e 100755

[PATCH 15/15] t4032-diff-inter-hunk-context.sh: replace using expr for arithmetic operations with the equivalent shell builtin

2016-02-04 Thread Elia Pinto
er to use than their equivalents in expr. Newly written scripts should avoid expr in favor of the new features within the shell." Signed-off-by: Elia Pinto --- t/t4032-diff-inter-hunk-context.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t4032-diff-

Re: [PATCH 14/15] git-am.sh: replace using expr for arithmetic operations with the equivalent shell builtin

2016-02-04 Thread Elia Pinto
2016-02-04 12:14 GMT+01:00 Johannes Schindelin : > Hi Elia, > > On Thu, 4 Feb 2016, Elia Pinto wrote: > >> - this=$(expr "$this" + 1) >> + this=$(( "$this" + 1 )) > > Why the funny spaces? We do not do th

Re: [PATCH 8/8] one ugly test to verify basic functionality

2016-02-05 Thread Elia Pinto
2016-02-05 9:57 GMT+01:00 Nguyễn Thái Ngọc Duy : > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > t/t5544-fetch-resume.sh (new +x) | 42 > > 1 file changed, 42 insertions(+) > create mode 100755 t/t5544-fetch-resume.sh > > diff --git a/t/t5544-fetch-resume.

Re: [PATCH 14/15] git-am.sh: replace using expr for arithmetic operations with the equivalent shell builtin

2016-02-05 Thread Elia Pinto
2016-02-04 20:33 GMT+01:00 Junio C Hamano : > As pointed out already, quoting of "$this" inside the arithmetic > expansion would not work very well, so [14/15] needs fixing. > > I do not see 01/15 thru 13/15 here, by the way. Is it just me? Excuse me, everyone. Yesterday was a bad day. I did a bi

Re: [PATCH 8/8] one ugly test to verify basic functionality

2016-02-05 Thread Elia Pinto
2016-02-05 14:02 GMT+01:00 Duy Nguyen : > On Fri, Feb 5, 2016 at 6:57 PM, Elia Pinto wrote: >>> + mv `ls .git/objects/pack/*.pack` pack && >> >> No, please. From the git coding guideline : "We prefer $( ... ) for >> command substitution; unlike

Re: [PATCH 8/8] one ugly test to verify basic functionality

2016-02-05 Thread Elia Pinto
2016-02-05 14:20 GMT+01:00 Johannes Schindelin : > Hi Elia, > > On Fri, 5 Feb 2016, Elia Pinto wrote: > >> From the git coding guideline : "We prefer $( ... ) for command >> substitution; unlike ``, it properly nests. It should have been the way >>

[PATCH 00/22] add the FORMATPRINTF macro to declare the gcc function

2016-02-11 Thread Elia Pinto
Add the FORMATPRINTF macro for declaring the gcc function attribute 'format printf' for code style consistency with similar macro that git already use for other gcc attributes. And use it where necessary. Elia Pinto (22): git-compat-util.h: add the FORMATPRINTF macro advice.

[PATCH 08/22] cache.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- cache.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cache.h b/cache.h index 553b04b..fb29154 10

[PATCH 12/22] fsck.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- fsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsck.c b/fsck.c index c637f66..953b8e4 100644 --- a/fsck.c +++ b/fsck.c

[PATCH 22/22] wt-status.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- wt-status.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wt-status.h b/wt-status.h index c9b3b74..f8b403a 10064

[PATCH 10/22] config.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 86a5eb2..671bfd3 100644 --- a/config.c +++

[PATCH 06/22] builtin/update-index.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- builtin/update-index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/update-index.c b/builtin/update-index.c ind

[PATCH 13/22] http-backend.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- http-backend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/http-backend.c b/http-backend.c index 8870a26..c05e99f 10

[PATCH 18/22] strbuf.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- strbuf.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/strbuf.h b/strbuf.h index f72fd14..c887dab 100644 ---

[PATCH 14/22] imap-send.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- imap-send.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/imap-send.c b/imap-send.c index 4d3b773..6739a7c 10

[PATCH 16/22] pkt-line.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- pkt-line.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkt-line.h b/pkt-line.h index 3cb9d91..d3ba3be 100644 --- a/

[PATCH 09/22] color.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/color.h b/color.h index e155d13..8f763d7 100644 --- a/color.h +++

[PATCH 15/22] merge-recursive.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- merge-recursive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merge-recursive.c b/merge-recursive.c index 8eabde2..891d

[PATCH 17/22] remote.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote.c b/remote.c index 35940a5..579cfcb 100644 --- a/remote.c +++

[PATCH 03/22] argv-array.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- argv-array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argv-array.h b/argv-array.h index a2fa0aa..e303dfd 100644

[PATCH 11/22] daemon.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.c b/daemon.c index 46b411c..b4a9207 100644 --- a/daem

[PATCH 20/22] transport-helper.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- transport-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport-helper.c b/transport-helper.c index a6bff8b..94c7

[PATCH 21/22] utf8.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utf8.h b/utf8.h index 7930b44..3dc301c 100644 --- a/utf8.h +++ b/utf8.

[PATCH 19/22] trace.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- trace.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/trace.h b/trace.h index 179b249..14df130 100644 ---

[PATCH 02/22] advice.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- advice.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/advice.h b/advice.h index b341a55..eef82e1 100644 --- a/advi

[PATCH 05/22] builtin/receive-pack.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- builtin/receive-pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c ind

[PATCH 01/22] git-compat-util.h: add the FORMATPRINTF macro

2016-02-11 Thread Elia Pinto
Add the FORMATPRINTF macro for declaring the gcc function attribute 'format printf' for code style consistency with similar macro that git already use for other gcc attributes. Signed-off-by: Elia Pinto --- git-compat-util.h | 14 -- 1 file changed, 8 insertions(+), 6

[PATCH 04/22] builtin/index-pack.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- builtin/index-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/index-pack.c b/builtin/index-pack.c index 6a0150

[PATCH 07/22] builtin/upload-archive.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf'

2016-02-11 Thread Elia Pinto
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- builtin/upload-archive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/upload-archive.c b/builtin/upload-archi

Re: [PATCH] http: honor no_http env variable to bypass proxy

2016-03-10 Thread Elia Pinto
; environment variable not working any more. > > Set extra curl option "CURLOPT_NOPROXY" will fix this issue. > > Signed-off-by: Jiang Xin Signed-off-by: Elia Pinto > --- > http.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/http.c b

Re: [PATCH] http: honor no_http env variable to bypass proxy

2016-03-10 Thread Elia Pinto
2016-03-07 21:33 GMT+01:00 Junio C Hamano : > Junio C Hamano writes: > > Second call for help. I hate having to revert 30f302f7 (Merge > branch 'kf/http-proxy-auth-methods', 2016-02-03) this late in the > cycle. Ok. I made the original merge commit for master. So, if it is sufficient, for me the

[PATCH 2/2] http.c: implements the GIT_CURL_DEBUG environment variable

2016-04-01 Thread Elia Pinto
: Elia Pinto --- http.c | 97 +- 1 file changed, 96 insertions(+), 1 deletion(-) diff --git a/http.c b/http.c index dfc53c1..079779d 100644 --- a/http.c +++ b/http.c @@ -437,6 +437,97 @@ static void set_curl_keepalive(CURL *c

[PATCH 1/2] imap-send.c: implements the GIT_CURL_DEBUG environment variable

2016-04-01 Thread Elia Pinto
: Elia Pinto --- imap-send.c | 99 +++-- 1 file changed, 97 insertions(+), 2 deletions(-) diff --git a/imap-send.c b/imap-send.c index 4d3b773..cf79e7f 100644 --- a/imap-send.c +++ b/imap-send.c @@ -1395,6 +1395,96 @@ static int

Re: [PATCH 2/2] http.c: implements the GIT_CURL_DEBUG environment variable

2016-04-04 Thread Elia Pinto
2016-04-01 17:03 GMT+02:00 Ramsay Jones : > > > On 01/04/16 11:44, Elia Pinto wrote: >> Implements the GIT_CURL_DEBUG environment variable to allow a greater >> degree of detail of GIT_CURL_VERBOSE, in particular the complete >> transport header and all the data payloa

Re: [PATCH 1/2] imap-send.c: implements the GIT_CURL_DEBUG environment variable

2016-04-04 Thread Elia Pinto
2016-04-01 16:56 GMT+02:00 Ramsay Jones : > > > On 01/04/16 11:44, Elia Pinto wrote: >> Implements the GIT_CURL_DEBUG environment variable to allow a greater >> degree of detail of GIT_CURL_VERBOSE, in particular the complete >> transport header and all the data payloa

Re: [PATCH 1/2] imap-send.c: implements the GIT_CURL_DEBUG environment variable

2016-04-04 Thread Elia Pinto
2016-04-01 17:35 GMT+02:00 Junio C Hamano : > Elia Pinto writes: > >> Implements the GIT_CURL_DEBUG environment variable to allow a greater >> degree of detail of GIT_CURL_VERBOSE, in particular the complete >> transport header and all the data payload exchanged. &g

[PATCH] api-trace.txt: fix typo

2016-04-05 Thread Elia Pinto
The correct api is trace_printf_key Signed-off-by: Elia Pinto --- Documentation/technical/api-trace.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/technical/api-trace.txt b/Documentation/technical/api-trace.txt index 389ae16..45a0ecd 100644 --- a

Re: [PATCH 1/2] imap-send.c: implements the GIT_CURL_DEBUG environment variable

2016-04-05 Thread Elia Pinto
2016-04-01 22:25 GMT+02:00 Eric Sunshine : > On Fri, Apr 1, 2016 at 6:44 AM, Elia Pinto wrote: >> Implements the GIT_CURL_DEBUG environment variable to allow a greater >> degree of detail of GIT_CURL_VERBOSE, in particular the complete >> transport header and all the data pay

Re: [ANNOUNCE] Git v2.8.1 (and call-for-help to "make rpmbuild" users)

2016-04-05 Thread Elia Pinto
2016-04-03 21:21 GMT+02:00 Junio C Hamano : > If you do not build RPM binary packages from our pristine source, > you can safely ignore this release and stop reading this message. > > Now that the audience of this message has been limited to a narrow > target, before I make an announcement, here is

[PATCH 2/4] http.c: implements the GIT_TRACE_CURL environment variable

2016-04-19 Thread Elia Pinto
: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- http.c | 98 +- 1 file changed, 97 insertions(+), 1 deletion(-) diff --git a/http.c

[PATCH 4/4] imap-send.c: introduce the GIT_TRACE_CURL enviroment variable

2016-04-19 Thread Elia Pinto
Permit the use of the GIT_TRACE_CURL environment variable calling the curl_trace and curl_dump http.c helper routine Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- imap-send.c

[PATCH 1/4] http.h: Add debug callback and helper routine for implementing the GIT_TRACE_CURL environment variable in http.c

2016-04-19 Thread Elia Pinto
King Signed-off-by: Elia Pinto --- http.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/http.h b/http.h index 4ef4bbd..a2d10bc 100644 --- a/http.h +++ b/http.h @@ -224,4 +224,10 @@ extern int finish_http_object_request(struct http_object_request *freq); extern void

[PATCH 3/4] git.txt: document the new GIT_TRACE_CURL environment variable

2016-04-19 Thread Elia Pinto
Describe the purpose of the GIT_TRACE_CURL environment variable Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- Documentation/git.txt | 8 1 file changed, 8 insertions

[PATCHv2 0/4] Implements the GIT_TRACE_CURL environment variable

2016-04-19 Thread Elia Pinto
routine - used the c escape sequences instead of the hex equivalent - dropped the previous GIT_DEBUG_CURL env var - curl_dump and curl_trace factored out to a shared implementation in http.c Elia Pinto (4): http.h: Add debug callback and helper routine for implementing the GIT_TR

[PATCHv3 2/3] imap-send.c: introduce the GIT_TRACE_CURL enviroment variable

2016-04-20 Thread Elia Pinto
Permit the use of the GIT_TRACE_CURL environment variable calling the curl_trace and curl_dump http.c helper routine. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- imap-send.c

[PATCHv3 1/3] git.txt: document the new GIT_TRACE_CURL environment variable

2016-04-20 Thread Elia Pinto
Describe the purpose of the GIT_TRACE_CURL environment variable. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- Documentation/git.txt | 8 1 file changed, 8 insertions

[PATCHv3 0/3] Implements the GIT_TRACE_CURL environment variable

2016-04-20 Thread Elia Pinto
y variable "i" in "w" in the helper routine - used the c escape sequences instead of the hex equivalent - dropped the previous GIT_DEBUG_CURL env var - curl_dump and curl_trace factored out to a shared implementation in http.c Elia Pinto (3): git.txt: document the new GIT_T

[PATCHv3 3/3] http.c: implements the GIT_TRACE_CURL environment variable

2016-04-20 Thread Elia Pinto
: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- http.c | 101 - http.h | 6 2 files changed, 106 insertions(+), 1 deletion

[PATCHv4 1/2] http.c: implement the GIT_TRACE_CURL environment variable

2016-04-28 Thread Elia Pinto
GIT_TRACE_CURL environment variable. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- Documentation/git.txt | 8 http.c| 109

[PATCHv4 0/2] Implement the GIT_TRACE_CURL environment variable

2016-04-28 Thread Elia Pinto
G_CURL env var - curl_dump and curl_trace factored out to a shared implementation in http.c Elia Pinto (2): http.c: implement the GIT_TRACE_CURL environment variable imap-send.c: introduce the GIT_TRACE_CURL enviroment variable Documentation/git.txt | 8 +++

[PATCHv4 2/2] imap-send.c: introduce the GIT_TRACE_CURL enviroment variable

2016-04-28 Thread Elia Pinto
Permit the use of the GIT_TRACE_CURL environment variable calling the curl_trace and curl_dump http.c helper routine. Helped-by: Torsten Bögershausen Helped-by: Ramsay Jones Helped-by: Junio C Hamano Helped-by: Eric Sunshine Helped-by: Jeff King Signed-off-by: Elia Pinto --- imap-send.c

  1   2   3   4   5   6   >