Files
git/builtin
Junio C Hamano e7ffa38c6e write_file_v(): do not leave incomplete line at the end
All existing callers to this function use it to produce a text file
or an empty file, and a new callsite that mimick them must end their
payload with a LF.  If they forget to do so, the resulting file will
end with an incomplete line.

Teach write_file_v() to complete the incomplete line, if exists, so
that the callers do not have to.

With this, the caller-side fix in builtin/am.c becomes unnecessary.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2015-08-25 12:48:39 -07:00
..
2015-06-25 10:47:46 -07:00
2014-07-16 11:10:11 -07:00
2015-08-03 11:01:27 -07:00
2015-08-24 13:09:02 -07:00
2015-07-13 14:02:19 -07:00
2015-08-03 11:01:17 -07:00
2015-01-14 09:32:04 -08:00
2015-06-22 13:17:10 -07:00
2015-08-03 11:01:18 -07:00
2015-07-13 14:02:02 -07:00
2015-03-20 13:11:53 -07:00
2015-08-03 11:01:18 -07:00
2015-08-24 13:09:02 -07:00
2015-08-03 11:01:27 -07:00
2015-06-05 12:17:36 -07:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-07-13 14:02:02 -07:00
2015-06-18 13:18:59 -07:00
2015-06-22 13:17:10 -07:00
2015-05-11 14:23:39 -07:00
2015-08-03 11:01:10 -07:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00