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

[PATCH 0/3] gitk: show latest change to region

From
Max Kirillov <max@max630.net>
Date
Feb 3, 2014, 22:34 UTC
Message-ID
<20140203223346.GA14202@wheezy.local>
In-Reply-To
<20140203205352.GA5136@wheezy.local>
Hi!

I quite like the "Show origin of this line" feature of the gitk. It is more convenient than blame, because it directly answers the question which is usually addressed to blame.

But, sometimes there is no "key" line which one could blame. Instead there is a function, block, or some other region of code. So I need a similar feature, but for several lines rather than for a single one.

The series of patches implements the feature. It consists of 3 patches:

* gitk: refactor: separate generic hunk parsing out of find_hunk_blamespecs{}
* gitk: refactor: separate io from logic in the searching origin of line
* gitk: pick selection for region blame

It also requires the "gitk: use single blamestuff for all show_line_source{} calls" patch, which it replies to.

-- 
Max
Previous: Max KirillovNext: Max Kirillov
Message 2 of 8 in “gitk: use single blamestuff for all show_line_source{} calls”
  1. gitk: use single blamestuff for all show_line_source{} callsMax Kirillov, Feb 3, 2014
  2. 0/3 gitk: show latest change to regionMax Kirillov, Feb 3, 2014
  3. 1/3 gitk: refactor: separate generic hunk parsing out of find_hunk_blamespecs{}Max Kirillov, Feb 3, 2014
  4. Eric SunshineFeb 3, 2014
  5. Max KirillovJun 24, 2014
  6. 2/3 gitk: refactor: separate io from logic in the searching origin of lineMax Kirillov, Feb 3, 2014
  7. 3/3 gitk: pick selection for region blameMax Kirillov, Feb 3, 2014
  8. 3/3 gitk: show latest change to regionMax Kirillov, Feb 3, 2014

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.