aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/git-svn/git-svn.perl
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-02-21 20:41:41 -0500
committerJunio C Hamano <junkio@cox.net>2006-02-22 00:36:09 -0800
commitfe474b588b3cb1c23c987a3d0f9e869a160d82d2 (patch)
tree3cd775ae87a14604cf302d905e5fc409fab380b0 /contrib/git-svn/git-svn.perl
parentrelax delta selection filtering in pack-objects (diff)
downloadgit-fe474b588b3cb1c23c987a3d0f9e869a160d82d2.tar.gz
git-fe474b588b3cb1c23c987a3d0f9e869a160d82d2.zip
diff-delta: fold two special tests into one plus cleanups
Testing for realloc and size limit can be done with only one test per loop. Make it so and fix a theoretical off-by-one comparison error in the process. The output buffer memory allocation is also bounded by max_size when specified. Finally make some variable unsigned to allow the handling of files up to 4GB in size instead of 2GB. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/git-svn/git-svn.perl')
0 files changed, 0 insertions, 0 deletions