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

Re: [Ksummit-discuss] checkkpatch (in)sanity ?

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
Aug 28, 2016, 21:24 UTC
Message-ID
<1472419498.4265.16.camel@kaarsemaker.net>
In-Reply-To
<1472413969.26978.108.camel@perches.com>
On zo, 2016-08-28 at 12:52 -0700, Joe Perches wrote:
Show 27 quoted lines
> On Sun, 2016-08-28 at 11:59 +0200, Julia Lawall wrote:
> > 
> > On Sun, 28 Aug 2016, Alexey Dobriyan wrote:
> []
> > 
> > > 
> > > The problem is that c-h.pl generates noise in the commit history
> > > and
> > > makes git-blame less useful than it can be.
> > Could it be that this is a problem with git blame, rather than with
> > checkpatch?  Last year there was a discussion on this list about
> > how there
> > is an option to git blame that will cause it to step through the
> > history,
> > and not show only the most recent patch that has modified a given
> > line.
> It is more or less an ease-of-use limitation of git blame.
> 
> There are some that want an ncurses only version of git blame
> that could
> use arrow-key style navigation for historical commit
> line-ranges.
> 
> git gui blame kind of works, but it's not ncurses/text based.
> git-cola kind of works too, but it's not text based either.
> 
> Are there other existing tools for blame history viewing?

tig has a neat way of doing blame history digging: do a `tig blame filename`, select a line and hit the comma key to re-blame from the parent of the commit that was blamed for that line.

(hat tip to Jeff King who pointed out this trick recently)
D.
Previous: Jiri KosinaNext: Joe Perches
Message 3 of 4 in “Re: [Ksummit-discuss] checkkpatch (in)sanity ?”
  1. Joe PerchesAug 28, 2016
  2. Jiri KosinaAug 28, 2016
  3. Dennis KaarsemakerAug 28, 2016
  4. Joe PerchesAug 28, 2016

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.