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

Re: [PATCH v2] builtin/merge_recursive.c: Add an usage string and make use of it.

From
Thiago Farina <tfransosi@gmail.com>
Date
Aug 30, 2010, 03:32 UTC
Message-ID
<AANLkTimEtAg0kmXRtc57XsF5Hpp8wqbn8tS0bz8q8K4+@mail.gmail.com>
In-Reply-To
<20100830024259.GC4010@burratino>
On Sun, Aug 29, 2010 at 11:42 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Now that you've researched it, wouldn't it make sense to include an
> explanation for this %s in the log message?
>
Sure, added an the explanation of %s in the usage string and the example too.
> Still, ack on this part.
>
Thanks.
Show 10 quoted lines
>> @@ -37,19 +40,19 @@ int cmd_merge_recursive(int argc, const char **argv, const char *prefix)
>>               if (!prefixcmp(arg, "--")) {
>>                       if (!arg[2])
>>                               break;
>> -                     if (!strcmp(arg+2, "ours"))
>> +                     if (!strcmp(arg + 2, "ours"))
>
> My comment on the rest still applies: it is best if patches do not
> contain unrelated changes to unrelated parts of the files they touch.
>
Reverted these style fixes in patchset v3.
Previous: Thiago FarinaNext: Thiago Farina
Message 9 of 10 in “builtin/merge_recursive.c: Add a usage string and make use of it.”
  1. builtin/merge_recursive.c: Add a usage string and make use of it.Thiago Farina, Aug 29, 2010
  2. Jonathan NiederAug 29, 2010
  3. builtin/merge_recursive.c: Add an usage string and make use of it.Thiago Farina, Aug 29, 2010
  4. Jonathan NiederAug 30, 2010
  5. builtin/merge_recursive.c: Add an usage string and make use of it.Thiago Farina, Aug 30, 2010
  6. Junio C HamanoAug 30, 2010
  7. Jonathan NiederAug 31, 2010
  8. Thiago FarinaSep 1, 2010
  9. Thiago FarinaAug 30, 2010
  10. Thiago FarinaAug 29, 2010

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.