]> asedeno.scripts.mit.edu Git - git.git/blobdiff - delta.h
diff-delta.c: allow delta with empty blob.
[git.git] / delta.h
diff --git a/delta.h b/delta.h
index 31d1820f80f2887d51808170fc86585ada42d42e..c6a476353f7122884cb4769685089d63c886631c 100644 (file)
--- a/delta.h
+++ b/delta.h
@@ -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 4 bytes */
-#define DELTA_SIZE_MIN 4
+/* the smallest possible delta size is 2 bytes (empty to empty) */
+#define DELTA_SIZE_MIN 2
 
 /*
  * This must be called twice on the delta data buffer, first to get the