From: Phillip Wood <phillip.wood123@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Matt Hunter <m@lfurio.us>,
Harald Nordgren <haraldnordgren@gmail.com>,
phillip.wood@dunelm.org.uk, git@vger.kernel.org
Subject: Re: What's cooking in git.git (Jul 2026, #12)
Date: Tue, 4 Aug 2026 14:19:51 +0100 [thread overview]
Message-ID: <97c244f4-52d1-4d59-9ced-6f2dbe14a2f6@gmail.com> (raw)
In-Reply-To: <xmqqfr0vyyxm.fsf@gitster.g>
On 03/08/2026 17:02, Junio C Hamano wrote:
> Phillip Wood <phillip.wood123@gmail.com> writes:
>
>> If you raise a point and it is dismissed without a convincing
>> explanation then its fine to raise it again asking for more details so
>> that you can understand the reason behind the decision. That often leads
>> to a productive discussion and an improved design.
>
> True. But because "convincing" is not black and white, we need to
> be careful a bit.
Indeed - what I'm really looking for in a discussion is to be convinced
that there is a reasonably logical rationale behind a decision and that
the other person has considered the counterarguments. Many decisions are
trade offs and different people may quite reasonably place different
weight the factors involved leading to different results. If I disagree
with a decision I try to only keep pushing back if I think the logic
behind the decision is flawed. I also find such discussions useful for
improving my own understanding of the problem and sometimes change my
mind as a result.
>> Having thought about it a bit over the weekend I wonder if the best
>> solution when squashing is to default to looking at the commits being
>> squashed before deciding whether to open the editor or not and allow the
>> user to override that on the commandline like "git commit". If we're
>> squashing a bunch of "fixup!" and/or "amend!" commits into a single
>> target then I'm not sure its worth opening the editor...
>
> Hmph, a base commit with an "amend!" (tells the machinery to use the
> message from the "amend!" commit only, discarding the existing one)
> is clear to me that there is no need for further editing, but if
> there is any "fixup!" (code change, for which need for associating
> log message change is unknown) or if there are multiple "amend!", I
> am not so sure. It does make it confusing, I suspect.
I certainly don't object to always opening the editor, it has the
advantage that it is much easier to explain and encourages users to
revise the commit message when they are squashing.
Thanks
Phillip
next prev parent reply other threads:[~2026-08-04 13:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 3:09 What's cooking in git.git (Jul 2026, #12) Junio C Hamano
2026-07-29 13:24 ` Phillip Wood
2026-07-29 14:18 ` Junio C Hamano
2026-07-29 15:20 ` Phillip Wood
2026-07-29 17:48 ` Junio C Hamano
2026-07-31 6:20 ` Matt Hunter
2026-07-31 15:36 ` Junio C Hamano
2026-07-30 6:11 ` Harald Nordgren
2026-07-31 7:02 ` Matt Hunter
2026-08-03 9:05 ` Phillip Wood
2026-08-03 16:02 ` Junio C Hamano
2026-08-04 13:19 ` Phillip Wood [this message]
2026-08-03 9:11 ` Phillip Wood
2026-07-29 15:14 ` Phillip Wood
2026-07-29 15:52 ` Junio C Hamano
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=97c244f4-52d1-4d59-9ced-6f2dbe14a2f6@gmail.com \
--to=phillip.wood123@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=haraldnordgren@gmail.com \
--cc=m@lfurio.us \
--cc=phillip.wood@dunelm.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.