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

Re: [PATCH] git-rebase: clean up dashed-usages in messages

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 20, 2017, 00:26 UTC
Message-ID
<xmqqmv3hokvx.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<459f9455-5edb-39a2-1511-1590e50d4545@gmail.com>
Kaartic Sivaraam <kaartic.sivaraam@gmail.com> writes:
Show 13 quoted lines
> On Sunday 19 November 2017 07:42 AM, Junio C Hamano wrote:
>>>   test -f "$apply_dir"/applying &&
>>> -	die "$(gettext "It looks like git-am is in progress. Cannot rebase.")"
>>> +	die "$(gettext "It looks like you are in the middle of an am session. Cannot rebase.")"
>>
>> Probably not, as 'am' alone would be confusing.
>>
>>      "It looks like 'git am' is in progress. Cannot rebase."
>>
>> may be a more sensible improvement.
>
> Let me guess, 'am' alone would be confusing because it follows 'an' in
> the error message.

With a, an or the, or without, 'am' alone, unlike 'status', 'rebase', etc., do not look much like a subcommand name, and that is why the original chose to say git-am. The suggestion is to make the primary change (i.e. remove mention of dashed form) without changing or breaking what the original wanted to do.

Previous: Kaartic SivaraamNext: Kaartic Sivaraam
Message 4 of 6 in “git-rebase: clean up dashed-usages in messages”
  1. git-rebase: clean up dashed-usages in messagesKaartic Sivaraam, Nov 18, 2017
  2. Junio C HamanoNov 19, 2017
  3. Kaartic SivaraamNov 19, 2017
  4. Junio C HamanoNov 20, 2017
  5. git-rebase: clean up dashed-usages in messagesKaartic Sivaraam, Nov 20, 2017
  6. Junio C HamanoNov 21, 2017

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.