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

Re: [PATCH 0/3 v2] Improve your performance with our patch

From
RDReece Dunn <msclrhd@googlemail.com>
Date
Jul 29, 2009, 13:30 UTC
Message-ID
<3f4fd2640907290630s37285944y8a364ce958367b@mail.gmail.com>
In-Reply-To
<4A704A62.2060402@dawes.za.net>
2009/7/29 Rogan Dawes <lists@dawes.za.net>:
Show 24 quoted lines
> 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
Previous: Rogan Dawes
Message 7 of 7 in “Improve your performance with our patch”
  1. 0/3 Improve your performance with our patchDaniel Barkalow, Jul 28, 2009
  2. Michael J GruberJul 28, 2009
  3. Johannes SchindelinJul 28, 2009
  4. Reece DunnJul 28, 2009
  5. Johannes SchindelinJul 28, 2009
  6. Rogan DawesJul 29, 2009
  7. Reece DunnJul 29, 2009

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.