diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-01-06 17:22:28 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-01-07 19:30:09 -0800 |
| commit | 3b5d3c9848aaa6e15d814730cfac0efe3257eb46 (patch) | |
| tree | 5ba2f278ce32e13478ecf96b0534b9cb359a5951 /contrib/persistent-https | |
| parent | lock_ref_sha1_basic(): inline constant (diff) | |
| download | git-3b5d3c9848aaa6e15d814730cfac0efe3257eb46.tar.gz git-3b5d3c9848aaa6e15d814730cfac0efe3257eb46.zip | |
lock_ref_sha1_basic(): use raceproof_create_file()
Instead of coding the retry loop inline, use raceproof_create_file() to
make lock acquisition safe against directory creation/deletion races.
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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
