Re: [PATCH v3 8/8] log --remerge-diff: show what the conflict resolution changed
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 8, 2014, 18:28 UTC
- Message-ID
- <xmqq38c2nezv.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <29c15efe998630143eaa75ec7155a31ce17bd433.1409860234.git.tr@thomasrast.ch>
Thomas Rast <tr@thomasrast.ch> writes:
Show 12 quoted lines
> +static void assemble_conflict_entry(struct strbuf *sb,
> + const char *branch1,
> + const char *branch2,
> + struct cache_entry *entry1,
> + struct cache_entry *entry2)
> +{
> + strbuf_addf(sb, "<<<<<<< %s\n", branch1);
> + strbuf_append_cache_entry_blob(sb, entry1);
> + strbuf_addstr(sb, "=======\n");
> + strbuf_append_cache_entry_blob(sb, entry2);
> + strbuf_addf(sb, ">>>>>>> %s\n", branch2);
> +}I didn't read 6 thru 8 as carefully as I did the earlier ones, but this part stood out. How does the above hardcoded markers interact with the conflict-marker-size attribute set to the path?