summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-24 09:43:41 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-24 13:01:59 -0700
commit57c867efe4e005e40cfdee8a64550d7a95bbb9a0 (patch)
tree9e7b8f7e0a6ea2be11e55cefd672c42895b08887 /sequencer.c
parentbuiltin/am: introduce write_state_*() helper functions (diff)
downloadtgif-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 'sequencer.c')
0 files changed, 0 insertions, 0 deletions