Re: What's cooking in git.git (Nov 2021, #07; Mon, 29)
From: Elijah Newren <hidden>
Date: 2021-12-06 17:37:49
On Sun, Dec 5, 2021 at 10:28 PM Junio C Hamano [off-list ref] wrote:
Aleen 徐沛文 [off-list ref] writes:quoted
Dears Hamano, In my opinion, the '--empty' should act as a strategy option like the 'X' option to 'git-rebase'. Since that the default behaviour of not passing the option is stopped in the middle of an am session, should the 'die' value dies the whole process but not the middle state? It may also make it not confusing.Hmph, unlike "git rebase" or "git merge", "git am" does not employ different strategy backends, so "-X<option>" would be out of place, I would think. Among what we already have, what kills the entire session is called "git am --abort". Since I do not find it unnatural to say "'git am' dies" when it stops and gives control back to the user, so that the user can decide what to do next, I am not sure where the aversion to the word comes from
When I first read the documentation, it sounded to me like it was implying an abort. I find 'die' very unnatural as a way to explain this behavior; it's too strong of a word.
(on the other hand, I find 'ask' highly unnatural since we do not ask anything---we just throw the control back the user).
Okay, but what about my previous suggestions of 'stop' or 'interrupt'?