author | Junio C Hamano <junkio@cox.net> | |
Fri, 20 Oct 2006 22:37:12 +0000 (15:37 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 21 Oct 2006 01:48:23 +0000 (18:48 -0700) | ||
commit | 4a0fc95f182dbf5b0c58e6d6cfe8cd7459da7ab6 | |
tree | f1aa0d909b2e76da31ef281ad25efd90870a40fc | tree | snapshot |
parent | 5ff62c300209d761e8e7b3c78da19b910cd9b860 | commit | diff |
git-pickaxe: introduce heuristics to avoid "trivial" chunks
This adds scoring logic to blame_entry to prevent blames on very
trivial chunks (e.g. lots of empty lines, indent followed by a
closing brace) from being passed down to unrelated lines in the
parent.
The current heuristics are quite simple and may need to be
tweaked later, but we need to start somewhere.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This adds scoring logic to blame_entry to prevent blames on very
trivial chunks (e.g. lots of empty lines, indent followed by a
closing brace) from being passed down to unrelated lines in the
parent.
The current heuristics are quite simple and may need to be
tweaked later, but we need to start somewhere.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pickaxe.c | diff | blob | history |