author | Junio C Hamano <junkio@cox.net> | |
Fri, 20 Oct 2006 01:50:17 +0000 (18:50 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 20 Oct 2006 07:30:44 +0000 (00:30 -0700) | ||
commit | 18abd745a05197f498219f5ba88ce238a3d51580 | |
tree | 69ab6177578a936f66c5c166bbaf0da32e421d0f | tree | snapshot |
parent | d24bba8008d8e537cb48e9760f7621cbe7ae9e38 | commit | diff |
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>
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 | diff | blob | history | |
builtin-pickaxe.c | diff | blob | history |