git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v0 1/1] Teach git version --build-options about zlib+libcurl

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 21, 2024, 18:58 UTC
Message-ID
<xmqqwmmijf6f.fsf@gitster.g>
In-Reply-To
<016501dac409$7dd5bc00$79813400$@nexbridge.com>
<rsbecker@nexbridge.com> writes:
> In this case, I was modelling the include after http.c, and remote-curl.c,
> which would have the same problem. I was going for consistency. Would not
> all three have to be fixed in a separate patch?

At least for build on platforms without libcURL, you build with NO_CURL defined, i.e. "make NO_CURL=NoThanks", and anything that includes <curl/curl.h> is *NOT* compiled at all, avoiding the broken build. There is *NOTHING* that needs fixing in the existing code. Only this patch under discussion is buggy that way.

Show 10 quoted lines
>>FYI, in the merged result, I would prefer to order these entries
> semi-alphabetically,
>>e.g. perhaps stripping possible "lib" prefix or suffix and comparing the
> rest to result
>>in curl < openssl < z or something like that.  Then we know where to add a
> new one,
>>whose name we do not know yet, in the future.
>
> I think that is logical. Do you need this redone? Although the OpenSSL
> inclusion is already merged from what I can see.
That is why the statement has "FYI".  I'll do the merging.  

Having them as two patches, one for libcurl and the other for zlib, would be slightly cleaner. Otherwise my merge would have to become "splitting the new one that adds libcurl+zlib into two hunks and let the existing openssl one in between".

Previous: rsbecker@nexbridge.comNext: Junio C Hamano
Message 6 of 15 in “Teach git version --build-options about zlib+libcurl”
  1. 0/1 Teach git version --build-options about zlib+libcurlRandall S. Becker, Jun 21, 2024
  2. 1/1 Teach git version --build-options about zlib+libcurlRandall S. Becker, Jun 21, 2024
  3. Junio C HamanoJun 21, 2024
  4. Junio C HamanoJun 21, 2024
  5. rsbecker@nexbridge.comJun 21, 2024
  6. Junio C HamanoJun 21, 2024
  7. Junio C HamanoJun 21, 2024
  8. Randall BeckerJun 21, 2024
  9. Junio C HamanoJun 22, 2024
  10. rsbecker@nexbridge.comJun 25, 2024
  11. Junio C HamanoJun 25, 2024
  12. rsbecker@nexbridge.comJun 25, 2024
  13. Jeff KingJun 26, 2024
  14. Junio C HamanoJun 26, 2024
  15. Jeff KingJun 26, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.