summaryrefslogtreecommitdiff
path: root/git-deltafy-script
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-06-04 06:02:23 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-05 21:14:58 (GMT)
commit0601e131c95940701c153e35ba73b97914ec0b3f (patch)
treed42cc611e197f54e1429f4ffebf3ba0d105073b1 /git-deltafy-script
parent5aa7d94cd6376b2c9a7fa7bdc33fb306b940360a (diff)
downloadgit-0601e131c95940701c153e35ba73b97914ec0b3f.zip
git-0601e131c95940701c153e35ba73b97914ec0b3f.tar.gz
git-0601e131c95940701c153e35ba73b97914ec0b3f.tar.bz2
[PATCH] diff.c: locate_size_cache() fix.
This fixes two bugs. - declaration of auto variable "cmp" was preceeded by a statement, causing compilation error on real C compilers; noticed and patch given by Yoichi Yuasa. - the function's calling convention was overloading its size parameter to mean "largest possible value means do not add entry", which was a bad taste. Brought up during a discussion with Peter Baudis. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'git-deltafy-script')
0 files changed, 0 insertions, 0 deletions