diff options
author | Junio C Hamano <junkio@cox.net> | 2005-06-29 00:32:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-29 09:11:38 -0700 |
commit | 3c84974207fb6a98eaa393cd4c3481d8ecdb8ce2 (patch) | |
tree | efc70d4b3da5059ea0eeb6a48791aa6dc1805256 /test-delta.c | |
parent | dcde55bc58ae845307efbdce3a1071f75ccd758e (diff) | |
download | git-3c84974207fb6a98eaa393cd4c3481d8ecdb8ce2.tar.gz |
[PATCH] Fixlets on top of Nico's clean-up.
If we prefer 0 as maxsize for diff_delta() to say "unlimited", let's be
consistent about it.
This patch also fixes type mismatch in a call to get_delta_hdr_size()
from packed_delta_info().
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'test-delta.c')
-rw-r--r-- | test-delta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-delta.c b/test-delta.c index da51efc245..37ef86b283 100644 --- a/test-delta.c +++ b/test-delta.c @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) if (argv[1][1] == 'd') out_buf = diff_delta(from_buf, from_size, data_buf, data_size, - &out_size, ~0UL); + &out_size, 0); else out_buf = patch_delta(from_buf, from_size, data_buf, data_size, |