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

Re: [PATCH] am: replace uses of --resolved with --continue

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 27, 2013, 16:36 UTC
Message-ID
<7vvc4ztssd.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130627083346.GB2232@serenity.lan>
John Keeping <john@keeping.me.uk> writes:
Show 10 quoted lines
>> @@ -176,7 +176,7 @@ aborts in the middle.  You can recover from this in one of two ways:
>>  
>>  . hand resolve the conflict in the working directory, and update
>>    the index file to bring it into a state that the patch should
>> -  have produced.  Then run the command with the '--resolved' option.
>> +  have produced.  Then run the command with the '--continue' option.
>
> It isn't new in this patch, but there is an inconsistency in the quoting
> of the options here.  In the previous hunk we use backticks but here it
> uses SQs.

Whatever the user is expected to literally type, like the dashed options, should be typeset in tt so `--continue` is the right form.

I am not inviting anybody to throw a patch that was generated by blindly running:

	sed -e "s/'\(--[a-z_]*\)'/`\1`/g"

to touch 50+ files without thinking, by the way. It is so easy that it can even be done by a trained monkey, but it also is very easy to fail to spot misconversion. Done in small batches with a throttled rate of patchflow, we may have sufficient review bandwidth to audit them.

Previous: John Keeping
Message 3 of 3 in “am: replace uses of --resolved with --continue”
  1. am: replace uses of --resolved with --continueKevin Bracey, Jun 26, 2013
  2. John KeepingJun 27, 2013
  3. Junio C HamanoJun 27, 2013

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.