Re: [PATCH v4 2/3] refs.c: split delete_ref_loose() into a separate flag-for-deletion and commit phase

2014-04-15 Thread Michael Haggerty
On 04/14/2014 08:29 PM, Ronnie Sahlberg wrote: > Change delete_ref_loose()) to just flag that a ref is to be deleted but do > not actually unlink the files. > Change commit_ref_lock() so that it will unlink refs that are flagged for > deletion. > Change all callers of delete_ref_loose() to explicit

[PATCH v4 2/3] refs.c: split delete_ref_loose() into a separate flag-for-deletion and commit phase

2014-04-14 Thread Ronnie Sahlberg
Change delete_ref_loose()) to just flag that a ref is to be deleted but do not actually unlink the files. Change commit_ref_lock() so that it will unlink refs that are flagged for deletion. Change all callers of delete_ref_loose() to explicitely call commit_ref_lock() to commit the deletion. The n