diff options
| author | Junio C Hamano <junkio@cox.net> | 2005-06-03 23:02:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-05 14:14:58 -0700 |
| commit | 0601e131c95940701c153e35ba73b97914ec0b3f (patch) | |
| tree | d42cc611e197f54e1429f4ffebf3ba0d105073b1 /diffcore.h | |
| parent | git-apply: actually apply patches and update the index (diff) | |
| download | git-0601e131c95940701c153e35ba73b97914ec0b3f.tar.gz git-0601e131c95940701c153e35ba73b97914ec0b3f.zip | |
[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.h')
0 files changed, 0 insertions, 0 deletions
