Thread (38 messages) flat view 38 messages, 14 authors, 2016-06-15

Re: Performance issue of 'git branch'

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:47:06

Possibly related (same subject, not in this thread)

Theodore Tso [off-list ref] wrote:
On Fri, Jul 24, 2009 at 02:21:20PM -0700, Linus Torvalds wrote:
quoted
I wonder if there is some way to only load the crazy curl stuff when we 
actually want open a http: connection.
Well, we could use dlopen(), but I'm not sure that qualifies as a
_sane_ solution --- especially given that there are approximately 15
interfaces used by git, that we'd have to resolve using dlsym().
Yea, that's not sane.

Probably the better approach is to have git fetch and git push be a
different binary from main git, so we only pay the libcurl loading
overheads when we hit transport.

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