git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] Fix confusing wording
@ 2017-12-25 10:26 Ivan Pozdeev
  2017-12-27 19:44 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Pozdeev @ 2017-12-25 10:26 UTC (permalink / raw)
  To: git; +Cc: peff, gitster

Not sure if I should add a CVE-2009-0037 reference as well.

---
http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/http.c b/http.c
index 215bebe..26b3386 100644
--- a/http.c
+++ b/http.c
@@ -802,7 +802,7 @@ static CURL *get_curl_handle(void)
get_curl_allowed_protocols(-1));
#else
warning("protocol restrictions not applied to curl redirects because\n"
- "your curl version is too old (>= 7.19.4)");
+ "your libcurl version is too old (< 7.19.4)");
#endif
if (getenv("GIT_CURL_VERBOSE"))
curl_easy_setopt(result, CURLOPT_VERBOSE, 1L);
-- 
2.10.0.windows.1

-- 
Regards,
Ivan


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix confusing wording
  2017-12-25 10:26 [PATCH] Fix confusing wording Ivan Pozdeev
@ 2017-12-27 19:44 ` Junio C Hamano
  2018-01-07 16:36   ` Ivan Pozdeev
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2017-12-27 19:44 UTC (permalink / raw)
  To: Ivan Pozdeev; +Cc: git, peff

Ivan Pozdeev <vano@mail.mipt.ru> writes:

> Not sure if I should add a CVE-2009-0037 reference as well.

Not in an end-user facing message like this one, I would say.

>
> ---

Sign off?

> http.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/http.c b/http.c
> index 215bebe..26b3386 100644
> --- a/http.c
> +++ b/http.c
> @@ -802,7 +802,7 @@ static CURL *get_curl_handle(void)
> get_curl_allowed_protocols(-1));
> #else
> warning("protocol restrictions not applied to curl redirects because\n"
> - "your curl version is too old (>= 7.19.4)");
> + "your libcurl version is too old (< 7.19.4)");
> #endif

Between 'curl' and 'libcurl', the latter certainly is more
technically correct.  I have a feeling that it would be better to
spell out ">=" as "requires at least" than replacing it with equally
cryptic "<" (it is OK to spell it out as "your libcurl version is
older than minimum required 7.19.4", too).

Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix confusing wording
  2017-12-27 19:44 ` Junio C Hamano
@ 2018-01-07 16:36   ` Ivan Pozdeev
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Pozdeev @ 2018-01-07 16:36 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, peff


On 27.12.2017 22:44, Junio C Hamano wrote:
> Ivan Pozdeev <vano@mail.mipt.ru> writes:
>
>> Not sure if I should add a CVE-2009-0037 reference as well.
> Not in an end-user facing message like this one, I would say.
To me, as an end user, the current message had no meaning at all. It 
even sounds like I'm better off for having an old version 'cuz git tried 
to apply some limitation to the download, and couldn't.
If it had "see <CVE> for more details", I could quickly find out the 
message's real meaning. Currently, I have to `git blame' the source to 
do that -- certainly something that few users would resort to.
>> ---
> Sign off?
https://github.com/native-api/git/blob/master/Documentation/SubmittingPatches
wasn't clear that this is required (TortoiseGit doesn't add it by 
default). Do I need to remake the patch or something?
>> http.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/http.c b/http.c
>> index 215bebe..26b3386 100644
>> --- a/http.c
>> +++ b/http.c
>> @@ -802,7 +802,7 @@ static CURL *get_curl_handle(void)
>> get_curl_allowed_protocols(-1));
>> #else
>> warning("protocol restrictions not applied to curl redirects because\n"
>> - "your curl version is too old (>= 7.19.4)");
>> + "your libcurl version is too old (< 7.19.4)");
>> #endif
> Between 'curl' and 'libcurl', the latter certainly is more
> technically correct.  I have a feeling that it would be better to
> spell out ">=" as "requires at least" than replacing it with equally
> cryptic "<" (it is OK to spell it out as "your libcurl version is
> older than minimum required 7.19.4", too).
I don't see how "your version is too old (less that <version>)" is unclear.
Any wording with "required" would be incorrect because a newer version 
isn't really "required", git can work with an older one, too.
> Thanks.
You're welcome :-)

-- 
Regards,
Ivan


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-07 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-25 10:26 [PATCH] Fix confusing wording Ivan Pozdeev
2017-12-27 19:44 ` Junio C Hamano
2018-01-07 16:36   ` Ivan Pozdeev

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).