git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 v2] Improve your performance with our patch
@ 2009-07-28  6:08 Daniel Barkalow
  2009-07-28  7:48 ` Michael J Gruber
  2009-07-28 11:11 ` Johannes Schindelin
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Barkalow @ 2009-07-28  6:08 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Johannes Schindelin

Ever since I saw spam to the kernel mailing list with that subject, I've 
wanted to title a suitable patch series that. This series makes executing 
the git startup code a whole lot faster on distros where libcurl has all 
the possible features, by not linking the regular programs against it.

I have in the works a series to implement my foreign-scm series as an 
extension to this series, mainly adding handling for the ways that 
importing content is different from simply getting it from a remote 
repository.

Daniel Barkalow (2):
  Add support for external programs for handling native fetches
  Use an external program to implement fetching with curl

Linus Torvalds (1):
  git-http-fetch: not a builtin

 Documentation/git-shim.txt           |   37 +++++++++
 Makefile                             |   12 ++-
 git.c                                |    3 -
 builtin-http-fetch.c => http-fetch.c |    5 +-
 shim-curl.c                          |  132 +++++++++++++++++++++++++++++++
 transport-shim.c                     |  142 ++++++++++++++++++++++++++++++++++
 transport.c                          |  136 +--------------------------------
 transport.h                          |    3 +
 8 files changed, 328 insertions(+), 142 deletions(-)
 create mode 100644 Documentation/git-shim.txt
 rename builtin-http-fetch.c => http-fetch.c (95%)
 create mode 100644 shim-curl.c
 create mode 100644 transport-shim.c

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

* Re: [PATCH 0/3 v2] Improve your performance with our patch
  2009-07-28  6:08 [PATCH 0/3 v2] Improve your performance with our patch Daniel Barkalow
@ 2009-07-28  7:48 ` Michael J Gruber
  2009-07-28 11:11 ` Johannes Schindelin
  1 sibling, 0 replies; 7+ messages in thread
From: Michael J Gruber @ 2009-07-28  7:48 UTC (permalink / raw)
  To: Daniel Barkalow; +Cc: Junio C Hamano, git, Johannes Schindelin

Daniel Barkalow venit, vidit, dixit 28.07.2009 08:08:
> Ever since I saw spam to the kernel mailing list with that subject, I've 
> wanted to title a suitable patch series that. This series makes executing 

ROTFL :)

I'm glad it passed my spam filters... Do you offer free shipping and a
rebate if I order a year's supply?

Michael

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

* Re: [PATCH 0/3 v2] Improve your performance with our patch
  2009-07-28  6:08 [PATCH 0/3 v2] Improve your performance with our patch Daniel Barkalow
  2009-07-28  7:48 ` Michael J Gruber
@ 2009-07-28 11:11 ` Johannes Schindelin
  2009-07-28 12:50   ` Reece Dunn
  2009-07-29 13:10   ` Rogan Dawes
  1 sibling, 2 replies; 7+ messages in thread
From: Johannes Schindelin @ 2009-07-28 11:11 UTC (permalink / raw)
  To: Daniel Barkalow; +Cc: Junio C Hamano, git

Hi,

On Tue, 28 Jul 2009, Daniel Barkalow wrote:

>  Documentation/git-shim.txt           |   37 +++++++++

May I re-register my complaint about the naming?

I mean, yes, I could think of something even worse when it comes to the 
(ridiculously bad!) tradition of naming things "porcelain", "plumbing" and 
"potty", especially when it comes to "pushing objects" and 
then "pulling".

But now that we had a good laugh, it is time to get serious again, and 
give this child a _way_ better name.

I mean, you already had a good name for your foreign scm series.  Why did 
you give that up in favor of this lousy naming?

Ciao,
Dscho

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

* Re: [PATCH 0/3 v2] Improve your performance with our patch
  2009-07-28 11:11 ` Johannes Schindelin
@ 2009-07-28 12:50   ` Reece Dunn
  2009-07-28 13:29     ` Johannes Schindelin
  2009-07-29 13:10   ` Rogan Dawes
  1 sibling, 1 reply; 7+ messages in thread
From: Reece Dunn @ 2009-07-28 12:50 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Daniel Barkalow, Junio C Hamano, git

2009/7/28 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> Hi,
>
> On Tue, 28 Jul 2009, Daniel Barkalow wrote:
>
>>  Documentation/git-shim.txt           |   37 +++++++++
>
> May I re-register my complaint about the naming?
>
> I mean, yes, I could think of something even worse when it comes to the
> (ridiculously bad!) tradition of naming things "porcelain", "plumbing" and
> "potty", especially when it comes to "pushing objects" and
> then "pulling".
>
> But now that we had a good laugh, it is time to get serious again, and
> give this child a _way_ better name.
>
> I mean, you already had a good name for your foreign scm series.  Why did
> you give that up in favor of this lousy naming?

How about git-http?

- Reece

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

* Re: [PATCH 0/3 v2] Improve your performance with our patch
  2009-07-28 12:50   ` Reece Dunn
@ 2009-07-28 13:29     ` Johannes Schindelin
  0 siblings, 0 replies; 7+ messages in thread
From: Johannes Schindelin @ 2009-07-28 13:29 UTC (permalink / raw)
  To: Reece Dunn; +Cc: Daniel Barkalow, Junio C Hamano, git

[-- Attachment #1: Type: TEXT/PLAIN, Size: 947 bytes --]

Hi,

On Tue, 28 Jul 2009, Reece Dunn wrote:

> 2009/7/28 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
>
> > On Tue, 28 Jul 2009, Daniel Barkalow wrote:
> >
> >>  Documentation/git-shim.txt           |   37 +++++++++
> >
> > May I re-register my complaint about the naming?
> >
> > I mean, yes, I could think of something even worse when it comes to the
> > (ridiculously bad!) tradition of naming things "porcelain", "plumbing" and
> > "potty", especially when it comes to "pushing objects" and
> > then "pulling".
> >
> > But now that we had a good laugh, it is time to get serious again, and
> > give this child a _way_ better name.
> >
> > I mean, you already had a good name for your foreign scm series.  Why did
> > you give that up in favor of this lousy naming?
> 
> How about git-http?

If 'git-fetch' learns to search for a helper by the name of the protocol 
(as it should learn), this will obviously fail with svn://.

Ciao,
Dscho

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

* Re: [PATCH 0/3 v2] Improve your performance with our patch
  2009-07-28 11:11 ` Johannes Schindelin
  2009-07-28 12:50   ` Reece Dunn
@ 2009-07-29 13:10   ` Rogan Dawes
  2009-07-29 13:30     ` Reece Dunn
  1 sibling, 1 reply; 7+ messages in thread
From: Rogan Dawes @ 2009-07-29 13:10 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Daniel Barkalow, Junio C Hamano, git

Johannes Schindelin wrote:
> Hi,
> 
> On Tue, 28 Jul 2009, Daniel Barkalow wrote:
> 
>>  Documentation/git-shim.txt           |   37 +++++++++
> 
> May I re-register my complaint about the naming?
> 
> I mean, yes, I could think of something even worse when it comes to the 
> (ridiculously bad!) tradition of naming things "porcelain", "plumbing" and 
> "potty", especially when it comes to "pushing objects" and 
> then "pulling".

A Shim has nothing to do with plumbing or toilets. From
<http://en.wikipedia.org/wiki/Shim_%28engineering%29>:

In engineering, a shim is a thin and often tapered or wedged piece of
material, used to fill small gaps or spaces between objects. Shims are
typically used in order to support, adjust for better fit, or provide a
level surface.

I suspect that it is being used in the "adjust for better fit" sense in
this case.

Regards,

Rogan

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

* Re: [PATCH 0/3 v2] Improve your performance with our patch
  2009-07-29 13:10   ` Rogan Dawes
@ 2009-07-29 13:30     ` Reece Dunn
  0 siblings, 0 replies; 7+ messages in thread
From: Reece Dunn @ 2009-07-29 13:30 UTC (permalink / raw)
  To: Rogan Dawes; +Cc: Johannes Schindelin, Daniel Barkalow, Junio C Hamano, git

2009/7/29 Rogan Dawes <lists@dawes.za.net>:
> Johannes Schindelin wrote:
>> Hi,
>>
>> On Tue, 28 Jul 2009, Daniel Barkalow wrote:
>>
>>>  Documentation/git-shim.txt           |   37 +++++++++
>>
>> May I re-register my complaint about the naming?
>>
>> I mean, yes, I could think of something even worse when it comes to the
>> (ridiculously bad!) tradition of naming things "porcelain", "plumbing" and
>> "potty", especially when it comes to "pushing objects" and
>> then "pulling".
>
> A Shim has nothing to do with plumbing or toilets. From
> <http://en.wikipedia.org/wiki/Shim_%28engineering%29>:
>
> In engineering, a shim is a thin and often tapered or wedged piece of
> material, used to fill small gaps or spaces between objects. Shims are
> typically used in order to support, adjust for better fit, or provide a
> level surface.
>
> I suspect that it is being used in the "adjust for better fit" sense in
> this case.

Yes, a shim is a layer that acts as a bridge from one thing to
another. In this case, it is a bridge between the transport code and
the transport mechanism. Using shim as an external name is confusing
-- a shim to what? The fast-import code and git-svn/hg/bzr/cvs/...
could be a shim (as it is acting as a bridge between other version
control systems).

Here, git-remote-* where * is the protocol name is a better naming
scheme as it tells you about what the logic is doing. The
documentation can be under git-remote.txt.

- Reece

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

end of thread, other threads:[~2009-07-29 13:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28  6:08 [PATCH 0/3 v2] Improve your performance with our patch Daniel Barkalow
2009-07-28  7:48 ` Michael J Gruber
2009-07-28 11:11 ` Johannes Schindelin
2009-07-28 12:50   ` Reece Dunn
2009-07-28 13:29     ` Johannes Schindelin
2009-07-29 13:10   ` Rogan Dawes
2009-07-29 13:30     ` Reece Dunn

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 NNTP newsgroup(s).