projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update git-unpack-objects documentation.
[git.git]
/
diff-delta.c
diff --git
a/diff-delta.c
b/diff-delta.c
index
1188b31
..
5bc2204
100644
(file)
--- a/
diff-delta.c
+++ b/
diff-delta.c
@@
-131,8
+131,8
@@
static struct index ** delta_index(const unsigned char *buf,
/* the maximum size for any opcode */
#define MAX_OP_SIZE COPYOP_SIZE(0xffffffff, 0xffffffff)
/* the maximum size for any opcode */
#define MAX_OP_SIZE COPYOP_SIZE(0xffffffff, 0xffffffff)
-void *diff_delta(void *from_buf, unsigned long from_size,
- void *to_buf, unsigned long to_size,
+void *diff_delta(
const
void *from_buf, unsigned long from_size,
+
const
void *to_buf, unsigned long to_size,
unsigned long *delta_size,
unsigned long max_size)
{
unsigned long *delta_size,
unsigned long max_size)
{