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

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

From
Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Date
Nov 19, 2017, 17:28 UTC
Message-ID
<459f9455-5edb-39a2-1511-1590e50d4545@gmail.com>
In-Reply-To
<xmqq4lprow2i.fsf@gitster.mtv.corp.google.com>
On Sunday 19 November 2017 07:42 AM, Junio C Hamano wrote:
Show 10 quoted lines
>>   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. So, the user might mistake it to be some kind of typo in the error message. Is that close to why 'am' alone would be confusing?

Anyways, I stole that from a message shown by 'git status',
     "You are in the middle of an am session."
So, does that require a change too?

--- Kaartic

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.