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

Porcelain/Plumbing

From
SRSverre Rabbelier <alturin@gmail.com>
Date
Jun 11, 2008, 19:50 UTC
Message-ID
<bd6139dc0806111250y53cfbdbdj9f00e38bf6e1c912@mail.gmail.com>
Heya,

During my efforts gsoc efforts, I stumbled across (or actually, was pointed at) 'git branch --contains' to list only branches that contain a specific commit. The problem here is that 'git branch' is listed as porcelain, and that there seems to be no plumbing equivalent of this feature. I have the same problem with 'git log -S', although 'git log' is pretty sturdy output wise (if you specify the output with '--pretty=format:' that is), the idea is the same. My question is, is it intentional that there is no plumbing equivalent forsome functionality, and, in such cases, is it 'ok' to use the porcelain from a script? (I think it is not.) I've been recommended to stick with the plumbing as much as possible from my code, but with the above two cases I've been unsure on what to do. What is the advised course of action here?

-- 
Cheers,

Sverre Rabbelier
Next: Jakub Narebski
Message 1 of 2 in “Porcelain/Plumbing”
  1. Sverre RabbelierJun 11, 2008
  2. Jakub NarebskiJun 11, 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.