summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-01-06 17:22:29 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-07 19:30:09 -0800
commit6a7f3631709cb68cdea4403c480a1a5d93100c47 (patch)
treeebdd9ee9820af1eec192ae7cae00f5b1af4f0697 /shell.c
parentlock_ref_sha1_basic(): use raceproof_create_file() (diff)
downloadtgif-6a7f3631709cb68cdea4403c480a1a5d93100c47.tar.xz
rename_tmp_log(): use raceproof_create_file()
Besides shortening the code, this saves an unnecessary call to safe_create_leading_directories_const() in almost all cases. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
0 files changed, 0 insertions, 0 deletions