Re: In-depth git blame?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 02, 2011 at 03:43:42PM -0500, Jez wrote:

> Git-blame is useful, but sometimes I want to know the series of
> commits that have affected a line -- not just the most recent one. Is
> there a way to do this?

If you use "git gui blame" or "tig blame", both have a "blame from
parent commit" feature. This restarts the blame using the content as it
was just before the answer you just got, so you can recursively dig.
It's unfortunately a somewhat manual process.

There was a GSoC project to do what you asked, where you would indicate
a set of lines and get a "git log"-like output of all the commits
touching those lines. But there were some issues with the code, and it
never quite made it upstream, I think. I'm not sure what the current
status is. Cc'ing Thomas and Bo, who worked on it.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]