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

Re: [RFC/PATCH 1/2] Introduce CHERRY_HEAD

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Feb 15, 2011, 23:42 UTC
Message-ID
<AANLkTi=MzZdOKeWYDTXoE6kg+OCcnjTUsQax5oN-k5Jq@mail.gmail.com>
In-Reply-To
<7vzkpwlwqx.fsf@alter.siamese.dyndns.org>
On Wed, Feb 16, 2011 at 00:10, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> Bert Wesarg <bert.wesarg@googlemail.com> writes:
>
>>> What happened to the `=======`?  I thought you were copying and pasting
>>> from the said section.
>>
>> I think this is clear enough, else you would need to mention the
>> '|||||||' and conflict_marker_size too.
>
> If so then probably the section this was copied from needs updating?
>

Right, the origin does not mention them too. It also uses just 3 characters, instead of the default 7. I think using '<=>'/'<|=>' as a visual hint about conflict markers should suffice here plus referencing the next section. This next section HOW CONFLICTS ARE PRESENTED does describe both conflict styles but it doesn't mention the conflict-marker-size option. There are more references in the documentation where only the RCS style is mentioned.

Anyways, referencing "TRUE MERGE" alone is not enough, it should mention the following sections too, namely HOW CONFLICTS ARE PRESENTED and HOW TO RESOLVE CONFLICTS. In German we would do this by '"TRUE MERGE" ff.' Where 'ff.' is the plural of the abbreviation for 'following'. I don't know how to do that in English.

Also I'm wondering, why the git repo does not set the conflict-marker-size for its offending files itself. The current offender would be:

$ git grep -l '^<<<<<<<' Documentation/ Documentation/git-merge-file.txt Documentation/git-merge.txt Documentation/user-manual.txt

I may provide a patch in the future, if no one beats me.
Bert
Previous: Junio C HamanoNext: Jay Soffian
Message 8 of 27 in “CHERRY_HEAD”
  1. 0/2 CHERRY_HEADJay Soffian, Feb 15, 2011
  2. 1/2 Introduce CHERRY_HEADJay Soffian, Feb 15, 2011
  3. Junio C HamanoFeb 15, 2011
  4. Jonathan NiederFeb 15, 2011
  5. Junio C HamanoFeb 15, 2011
  6. Bert WesargFeb 15, 2011
  7. Junio C HamanoFeb 15, 2011
  8. Bert WesargFeb 15, 2011
  9. Jay SoffianFeb 15, 2011
  10. Jonathan NiederFeb 15, 2011
  11. 2/2 Teach commit to handle CHERRY_HEAD automaticallyJay Soffian, Feb 15, 2011
  12. Jay SoffianFeb 15, 2011
  13. Junio C HamanoFeb 15, 2011
  14. Jonathan NiederFeb 15, 2011
  15. Jay SoffianFeb 15, 2011
  16. Jonathan NiederFeb 15, 2011
  17. Jay SoffianFeb 16, 2011
  18. Jonathan NiederFeb 16, 2011
  19. Documentation: clarify interaction of --reset-author with --authorJonathan Nieder, Feb 16, 2011
  20. Junio C HamanoFeb 16, 2011
  21. Ævar Arnfjörð BjarmasonFeb 15, 2011
  22. Junio C HamanoFeb 15, 2011
  23. Jay SoffianFeb 15, 2011
  24. Ævar Arnfjörð BjarmasonFeb 15, 2011
  25. Jay SoffianFeb 15, 2011
  26. Miles BaderFeb 16, 2011
  27. Christian CouderFeb 17, 2011

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.