combine-diff: move changed-paths scanning logic into its own function
commiteeb3f32868862609b475122f3e0c2ef7c0dd3e79
authorKirill Smelkov <kirr@mns.spb.ru>
Mon, 3 Feb 2014 12:47:20 +0000 (3 16:47 +0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:46:11 +0000 (24 14:46 -0800)
treefc1a1be46f79ce7bb062da5e51ad234113860dae
parent51af1886c73f12b1e020db1aa03525e2d74bed93
combine-diff: move changed-paths scanning logic into its own function

Move code for finding paths for which diff(commit,parent_i) is not-empty
for all parents to separate function - at present we have generic (and
slow) code for this job, which translates 1 n-parent problem to n
1-parent problems and then intersect results, and will be adding another
limited, but faster, paths scanning implementation in the next patch.

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
combine-diff.c