optimisations on git process_blame_line for files with multiple token matches