author | Nicolas Pitre <nico@cam.org> | |
Thu, 20 Apr 2006 21:25:37 +0000 (17:25 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 21 Apr 2006 07:45:10 +0000 (00:45 -0700) | ||
commit | 0dec30b9788b12fdae5d5b69fc366a28bb688d80 | |
tree | c5672a906a67000c3cd233b3a3eb4a01e031af3c | tree | snapshot |
parent | 757319309ac26d136d6f21a40c81fb53073c5dc9 | commit | diff |
fix pack-object buffer size
The input line has 40 _chars_ of sha1 and no 20 _bytes_. It should also
account for the space before the pathname, and the terminating \n and \0.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The input line has 40 _chars_ of sha1 and no 20 _bytes_. It should also
account for the space before the pathname, and the terminating \n and \0.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c | diff | blob | history |