summaryrefslogtreecommitdiff
path: root/diffcore-break.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-06-03 23:02:23 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-05 14:14:58 -0700
commit0601e131c95940701c153e35ba73b97914ec0b3f (patch)
treed42cc611e197f54e1429f4ffebf3ba0d105073b1 /diffcore-break.c
parent5aa7d94cd6376b2c9a7fa7bdc33fb306b940360a (diff)
downloadgit-0601e131c95940701c153e35ba73b97914ec0b3f.tar.gz
[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 'diffcore-break.c')
0 files changed, 0 insertions, 0 deletions