diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-12 16:42:38 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-12 16:42:38 -0800 |
commit | c7a45bd20e4ec141fdc15f36d261a45d51d95693 (patch) | |
tree | 906269c34cada1b3028d3f4013bae3a595d20625 /delta.h | |
parent | Everyday: some examples. (diff) | |
download | tgif-c7a45bd20e4ec141fdc15f36d261a45d51d95693.tar.xz |
Revert "diff-delta.c: allow delta with empty blob."
This reverts 962537a3eb03a118cf27d9d0da365a3216ed1caa commit to
play safe.
Diffstat (limited to 'delta.h')
-rw-r--r-- | delta.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,8 +9,8 @@ extern void *patch_delta(void *src_buf, unsigned long src_size, void *delta_buf, unsigned long delta_size, unsigned long *dst_size); -/* the smallest possible delta size is 2 bytes (empty to empty) */ -#define DELTA_SIZE_MIN 2 +/* the smallest possible delta size is 4 bytes */ +#define DELTA_SIZE_MIN 4 /* * This must be called twice on the delta data buffer, first to get the |