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

gitk: bug viewing diffs with the word items

From
Joshua Clayton <stillcompiling@gmail.com>
Date
Mar 21, 2017, 21:47 UTC
Message-ID
<8cd30c4d-f21d-142b-5444-eb9a3bba5d4f@gmail.com>
Hi.
I see a bug with the diff view of gitk.
when the text " <items>" or " </items>" appears
on one of the surrounding contexts lines in a diff,
gitk treats it as part of the "Old Version", highlighting it in red,
and hiding it if "New Version" is selected
I don't know if any other magic words are affected
ied it with the master
bug confirmed exists in github/git/git/master
I created a small repository that shows the error for me:
clone it to reproduce the behavior
https://github.com/d4ddi0/gitk_diff_view
~Joshua Clayton
Message 1 of 1 in “gitk: bug viewing diffs with the word items”
  1. Joshua ClaytonMar 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.