Re: I want to release a "git-1.0"
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:41:59
quoted
quoted
quoted
quoted
"DL" == David Lang [off-list ref] writes:
quoted
Internally, git-diff-cache -B -C is used which does use the deltify to locate complete rewrites, renames and copies (that's why the script is so slow). For passing on and assigning blames line by line, parsing "diff --unified=0" output was a lot easier for this script and that was what I did in this quick-and-dirty version.
DL> I was under the impressin that the deltafy stuff was significantly DL> faster then you are suggeting that it is here I perhaps phrased it poorly. The slow part is not a single delta operation, but having to run many delta operations between all combinations of rename/copy candidates, which is O(n * m) where n is the number of newly created files (counting "broken" ones created by -B flag) and m is the number of (deleted, modified and unmodified) files in the original tree.