Code

diffcore-break: do not break too small filepair.
authorJunio C Hamano <junkio@cox.net>
Tue, 13 Dec 2005 01:15:55 +0000 (17:15 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 13 Dec 2005 01:15:55 +0000 (17:15 -0800)
commit0532a5e46b88cd70c952a2bf5dc63681be32a2d9
treecbdc2ee7f6b154a1b2b3aa6025ffd2e781845ae9
parent86c9523305f75818d4dce485a18f6b4ccae78233
diffcore-break: do not break too small filepair.

Somehow we checked only one side and not the other.  By checking
the filesize upfront, we can bypass generating delta
unnecessarily.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diffcore-break.c