summaryrefslogtreecommitdiff
path: root/t/t4211
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-07-08 05:10:08 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-08 09:47:29 -0700
commitee861e0f78367ff0e94feeb42f721ef83ceec251 (patch)
treecd8b5a9aa1f345246ae1657bfe238df3a35705f8 /t/t4211
parentwrite_file: drop "gently" form (diff)
downloadtgif-ee861e0f78367ff0e94feeb42f721ef83ceec251.tar.xz
write_file: use xopen
This simplifies the code a tiny bit, and provides consistent error messages with other users of xopen(). While we're here, let's also switch to using O_WRONLY. We know we're only going to open/write/close the file, so there's no point in asking for O_RDWR. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4211')
0 files changed, 0 insertions, 0 deletions