Code

git-pickaxe -C: blame cut-and-pasted lines.
authorJunio C Hamano <junkio@cox.net>
Fri, 20 Oct 2006 01:50:17 +0000 (18:50 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 20 Oct 2006 07:30:44 +0000 (00:30 -0700)
commit18abd745a05197f498219f5ba88ce238a3d51580
tree69ab6177578a936f66c5c166bbaf0da32e421d0f
parentd24bba8008d8e537cb48e9760f7621cbe7ae9e38
git-pickaxe -C: blame cut-and-pasted lines.

This completes the initial round of git-pickaxe.  In addition to
the detection of line movements we already have, this finds new
lines that were created by moving or cutting-and-pasting lines
from different files in the parent.

With this,

git pickaxe -f -n -C v1.4.0 -- revision.c

finds that a major part of that file actually came from
rev-list.c when Linus split the latter at commit ae563642 and
blames them to earlier commits that touch rev-list.c.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-pickaxe.txt
builtin-pickaxe.c