Cache results of git_diff_linenumbers