]> git.ipfire.org Git - thirdparty/git.git/commit
Avoid writing to buffer in add_excludes_from_file_1()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 20 Aug 2009 13:47:00 +0000 (20:47 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2009 00:13:32 +0000 (17:13 -0700)
commitb5041c5f3b9ea70ce7aa9711af6ed6f2d02909b0
treee3a16c42f315fa8d714a08e2e59dae7e26fa7415
parent52030836943c0d28d8be4202762ede28e921dc21
Avoid writing to buffer in add_excludes_from_file_1()

In the next patch, the buffer that is being used within
add_excludes_from_file_1() comes from another function and does not
have extra space to put \n at the end.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c