]> git.ipfire.org Git - thirdparty/git.git/commit - combine-diff.c
combine-diff: combine_diff_path.len is not needed anymore
authorKirill Smelkov <kirr@mns.spb.ru>
Mon, 20 Jan 2014 16:20:41 +0000 (20:20 +0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:44:57 +0000 (14:44 -0800)
commitaf82c7880f1a3df1655092da11c80603260384a0
treed2149c13b42648b9698ab96df91fc85632c91342
parent8518ff8fabc43aa96f1d8c8cd3de7f399d51d11e
combine-diff: combine_diff_path.len is not needed anymore

The field was used in order to speed-up name comparison and also to
mark removed paths by setting it to 0.

Because the updated code does significantly less strcmp and also
just removes paths from the list and free right after we know a path
will not be needed, it is not needed anymore.

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