author | Kristian Høgsberg <krh@redhat.com> | |
Fri, 14 Dec 2007 20:59:58 +0000 (15:59 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 15 Dec 2007 04:42:26 +0000 (20:42 -0800) | ||
commit | cb891a5989c41ed479db9eb4b0a69cef8bb98ea8 | |
tree | 43951cf9dd4c12997bb2266ae464026b5e997197 | tree | snapshot |
parent | 69ae517541ed5ab7d4fdcd8f82a9b8bd949df347 | commit | diff |
Use a strbuf for building up section header and key/value pair strings.
Avoids horrible 1-byte write(2) calls and cleans up the logic a bit.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Avoids horrible 1-byte write(2) calls and cleans up the logic a bit.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c | diff | blob | history |