Code

diff-delta.c: allow delta with empty blob.
authorJunio C Hamano <junkio@cox.net>
Mon, 12 Dec 2005 20:01:52 +0000 (12:01 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 12 Dec 2005 20:57:25 +0000 (12:57 -0800)
commit962537a3eb03a118cf27d9d0da365a3216ed1caa
treeabc9d37b3200dde75043e757387f665ebce5a023
parente726715a52e25d8035c89d4ea09398599610737e
diff-delta.c: allow delta with empty blob.

Delta computation with an empty blob used to punt and returned NULL.
This commit allows creation with empty blob; all combination of
empty->empty, empty->something, and something->empty are allowed.

Signed-off-by: Junio C Hamano <junkio@cox.net>
delta.h
diff-delta.c