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

Re: What's in git.git

From
Mike Hommey <mh@glandium.org>
Date
Feb 12, 2008, 09:47 UTC
Message-ID
<20080212094755.GA17195@glandium.org>
In-Reply-To
<Pine.LNX.4.64.0802121010590.416@yvahk3.pbagnpgbe.fr>
On Tue, Feb 12, 2008 at 10:15:28AM +0100, Daniel Stenberg <daniel@haxx.se> wrote:
Show 12 quoted lines
> On Mon, 11 Feb 2008, Junio C Hamano wrote:
> 
> >Mike Hommey (1):
> > Work around curl-gnutls not liking to be reinitialized
> 
> But why reinitialize libcurl at all in the first place? This "work-around"
> should rather be the standard behavior since there should be no logical 
> reason to re-initialize libcurl's global state during a git's execution.
> 
> Even though Mike correctly identified a libcurl bug, it also indirectly 
> identified a git flaw: re-initialization with the curl_global_* functions 
> is pointless and only wastes time.
The important bit in the commit message reads:
> We work around this by removing the http_init and http_cleanup calls
> from get_refs_via_curl, replacing them with a transport->data
> initialization with the http_walker (which does http_init).

Which means there remains only one initialization. I agree it's not a workaround anymore, but the word remained from the 3 previous attempts, which were workarounds.

Mike
Previous: Daniel StenbergNext: Daniel Stenberg
Message 4 of 28 in “What's in git.git (stable frozen)”
  1. Junio C HamanoJan 30, 2008
  2. What's in git.gitJunio C Hamano, Feb 12, 2008
  3. Daniel StenbergFeb 12, 2008
  4. Mike HommeyFeb 12, 2008
  5. Daniel StenbergFeb 12, 2008
  6. What's in git.git (stable)Junio C Hamano, Feb 17, 2008
  7. Jakub NarebskiFeb 17, 2008
  8. Junio C HamanoFeb 17, 2008
  9. Johannes SchindelinFeb 17, 2008
  10. Junio C HamanoFeb 18, 2008
  11. Johannes SchindelinFeb 18, 2008
  12. Jeff KingFeb 18, 2008
  13. Johannes SchindelinFeb 18, 2008
  14. Junio C HamanoFeb 18, 2008
  15. Jeff KingFeb 18, 2008
  16. What's in git.git (stable)Junio C Hamano, Feb 21, 2008
  17. What's in git.git (stable)Junio C Hamano, Feb 25, 2008
  18. What's in git.git (stable)Junio C Hamano, Feb 28, 2008
  19. What's in git.git (stable)Junio C Hamano, Mar 3, 2008
  20. What's in git.git (stable)Junio C Hamano, Mar 6, 2008
  21. What's in git.git (stable)Junio C Hamano, Mar 8, 2008
  22. What's in git.git (stable)Junio C Hamano, Mar 9, 2008
  23. What's in git.git (stable)Junio C Hamano, Mar 14, 2008
  24. What's in git.git (stable)Junio C Hamano, Mar 23, 2008
  25. What's in git.git (stable)Junio C Hamano, Mar 28, 2008
  26. What's in git.git (stable)Junio C Hamano, Mar 31, 2008
  27. What's in git.git (stable)Junio C Hamano, Apr 4, 2008
  28. Shawn O. PearceApr 5, 2008

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.