diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-24 09:43:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-24 13:01:59 -0700 |
commit | 57c867efe4e005e40cfdee8a64550d7a95bbb9a0 (patch) | |
tree | 9e7b8f7e0a6ea2be11e55cefd672c42895b08887 /wrapper.c | |
parent | 25b763ba7a544d05fc46ad601f3f9c50a4cea8b0 (diff) | |
download | git-57c867efe4e005e40cfdee8a64550d7a95bbb9a0.tar.gz git-57c867efe4e005e40cfdee8a64550d7a95bbb9a0.tar.xz |
builtin/am: make sure state files are text
We forgot to terminate the payload given to write_file() with LF,
resulting in files that end with an incomplete line. Teach the
wrappers builtin/am uses to make sure it adds LF at the end as
necessary.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrapper.c')
0 files changed, 0 insertions, 0 deletions