Re: [PATCH 08/20] log_ref_setup(): improve robustness against races

2016-02-18 Thread Junio C Hamano
Michael Haggerty writes: > Change log_ref_setup() to use raceproof_create_file() to create the new > logfile. This makes it more robust against a race against another > process that might be trying to clean up empty directories while we are > trying to create a new logfile. > > This also means th

[PATCH 08/20] log_ref_setup(): improve robustness against races

2016-02-16 Thread Michael Haggerty
Change log_ref_setup() to use raceproof_create_file() to create the new logfile. This makes it more robust against a race against another process that might be trying to clean up empty directories while we are trying to create a new logfile. This also means that it will only call create_leading_di