git-commit-vandalism/refs
Michael Haggerty 6a7f363170 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>
2017-01-07 19:30:09 -08:00
..
files-backend.c rename_tmp_log(): use raceproof_create_file() 2017-01-07 19:30:09 -08:00
iterator.c do_for_each_ref(): reimplement using reference iteration 2016-06-20 11:38:20 -07:00
refs-internal.h refname_is_safe(): correct docstring 2017-01-07 19:30:08 -08:00