summaryrefslogtreecommitdiff
path: root/builtin-rev-parse.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-10-20 14:51:12 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-20 18:48:23 -0700
commit5ff62c300209d761e8e7b3c78da19b910cd9b860 (patch)
tree506010d2f94d093ce5eb67295299b9d9f361ece7 /builtin-rev-parse.c
parentgit-pickaxe: fix nth_line() (diff)
downloadtgif-5ff62c300209d761e8e7b3c78da19b910cd9b860.tar.xz
git-pickaxe: improve "best match" heuristics
Instead of comparing number of lines matched, look at the matched characters and count alnums, so that we do not pass blame on not-so-interesting lines, such as an empty line and a line that is indentation followed by a closing brace. Add an option --score-debug to show the score of each blame_entry while we cook this further on the "next" branch. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-rev-parse.c')
0 files changed, 0 insertions, 0 deletions