diff options
| author | Junio C Hamano <junkio@cox.net> | 2006-03-01 22:08:12 -0800 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-03-01 22:08:12 -0800 |
| commit | b485db9896654b11c8a7bf64fd5cc3d0d8dc5b69 (patch) | |
| tree | 4b6a563b4e3dd22a1e5257bdcffac399370b096b /delta.h | |
| parent | 09a278e6b906d3902f3b75ec183a06b0c029d27b (diff) | |
| parent | 38fd0721d0a2a1a723bc28fc0817e3571987b1ef (diff) | |
| download | git-b485db9896654b11c8a7bf64fd5cc3d0d8dc5b69.tar.xz | |
Merge branch 'np/delta' into next
* np/delta:
diff-delta: allow reusing of the reference buffer index
diff-delta: bound hash list length to avoid O(m*n) behavior
diff-delta: produce optimal pack data
Merge branch 'kh/svnimport'
Merge branch 'js/refs'
annotate: fix -S parameter to take a string
annotate: Add a basic set of test cases.
annotate: handle \No newline at end of file.
gitview: Use horizontal scroll bar in the tree view
Diffstat (limited to 'delta.h')
| -rw-r--r-- | delta.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,8 @@ /* handling of delta buffers */ extern void *diff_delta(void *from_buf, unsigned long from_size, void *to_buf, unsigned long to_size, - unsigned long *delta_size, unsigned long max_size); + unsigned long *delta_size, unsigned long max_size, + void **from_index); extern void *patch_delta(void *src_buf, unsigned long src_size, void *delta_buf, unsigned long delta_size, unsigned long *dst_size); |
