git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH v2] Revert "doc: move git-cherry to plumbing"
Date: Tue, 14 Jan 2025 09:35:08 -0800	[thread overview]
Message-ID: <xmqqwmex47ub.fsf@gitster.g> (raw)
In-Reply-To: <b0a3889a-9d7f-4663-bb00-b1b457931fcb@app.fastmail.com> (Kristoffer Haugsbakk's message of "Tue, 14 Jan 2025 11:24:53 +0100")

"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:

> On Mon, Jan 13, 2025, at 17:56, Junio C Hamano wrote:
>
>> It is not like it is a crime to intarctively make use of a plumbing
>> command, or we intentionally try to hide plumbing command from them
>> by making it deliberately less accessible.  "git cat-file commit X"
>> may be handier than "git show -s X" for some people and that is not
>> to be frowned upon.
>>
>> And what you call "might only be" is really the crucial thing to
>> consider.  If we want to keep a tool's output stable and machine
>> readable, we need to mark it as "meant for Porcelain writers", and
>> classifying the tool as plumbing is a pretty much established way to
>> do so.
>
> Okay.  I understand now.

I forgot to mention one thing worth addressing in your message,
though.  Making the tool more discoverable.  It is a valuable
consideration.

But I somehow think moving a tool between plumbing and Porcelain
boundary is not the way to do so.

There is a collection of "howto" articles in Documentation/howto/
that is meant to be the place to learn how to go from workflow and
objective to tools.  If you have a success story that your use of
"git cherry" helped greatly what you wanted to achieve, it may be a
good place to share it.

Thanks.

      reply	other threads:[~2025-01-14 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-12 11:54 [PATCH v2] Revert "doc: move git-cherry to plumbing" kristofferhaugsbakk
2025-01-12 12:30 ` Kristoffer Haugsbakk
2025-01-13 16:56 ` Junio C Hamano
2025-01-14 10:24   ` Kristoffer Haugsbakk
2025-01-14 17:35     ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqwmex47ub.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=kristofferhaugsbakk@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).