diff options
author | Sergey Vlasov <vsu@altlinux.ru> | 2005-09-04 13:43:16 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-04 10:28:43 -0700 |
commit | ce726ec8d80ccce4e4956a026d807cb02bdc6de9 (patch) | |
tree | 9c3a45c485b1b368fd9d542abb5b52ce58063d34 /connect.c | |
parent | 2ab141a26f93c4d97e243a6be8a38a7dd4eb35a3 (diff) | |
download | git-ce726ec8d80ccce4e4956a026d807cb02bdc6de9.tar.gz |
[PATCH] NUL terminate the object data in patch_delta()
At least pretty_print_commit() expects to get NUL-terminated commit data to
work properly. unpack_sha1_rest(), which reads objects from separate files,
and unpack_non_delta_entry(), which reads non-delta-compressed objects from
pack files, already add the NUL byte after the object data, but patch_delta()
did not do it, which caused problems with, e.g., git-rev-list --pretty when
there are delta-compressed commit objects.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'connect.c')
0 files changed, 0 insertions, 0 deletions