summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-10-20 15:37:12 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-20 18:48:23 -0700
commit4a0fc95f182dbf5b0c58e6d6cfe8cd7459da7ab6 (patch)
treef1aa0d909b2e76da31ef281ad25efd90870a40fc /commit.c
parentgit-pickaxe: improve "best match" heuristics (diff)
downloadtgif-4a0fc95f182dbf5b0c58e6d6cfe8cd7459da7ab6.tar.xz
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>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions