Re: [PATCH] files_initial_transaction_commit(): only unlock if locked

2018-01-22 Thread Mathias Rav
2018-01-22 10:25 +0100 Michael Haggerty : > On 01/19/2018 11:14 PM, Junio C Hamano wrote: > > Jeff King writes: > > > >> On Thu, Jan 18, 2018 at 02:38:41PM +0100, Mathias Rav wrote: > >> > >>> Running git clone --single-branch --mirror -b TAGNAME

Re: [PATCH] files_initial_transaction_commit(): only unlock if locked

2018-01-22 Thread Michael Haggerty
On 01/19/2018 11:14 PM, Junio C Hamano wrote: > Jeff King writes: > >> On Thu, Jan 18, 2018 at 02:38:41PM +0100, Mathias Rav wrote: >> >>> Running git clone --single-branch --mirror -b TAGNAME previously >>> triggered the following error message: >>> >>> fatal: multiple

Re: [PATCH] files_initial_transaction_commit(): only unlock if locked

2018-01-19 Thread Junio C Hamano
Jeff King writes: > On Thu, Jan 18, 2018 at 02:38:41PM +0100, Mathias Rav wrote: > >> Running git clone --single-branch --mirror -b TAGNAME previously >> triggered the following error message: >> >> fatal: multiple updates for ref 'refs/tags/TAGNAME' not allowed. >> >> This

Re: [PATCH] files_initial_transaction_commit(): only unlock if locked

2018-01-18 Thread Jeff King
On Thu, Jan 18, 2018 at 02:38:41PM +0100, Mathias Rav wrote: > Running git clone --single-branch --mirror -b TAGNAME previously > triggered the following error message: > > fatal: multiple updates for ref 'refs/tags/TAGNAME' not allowed. > > This error condition is handled in

[PATCH] files_initial_transaction_commit(): only unlock if locked

2018-01-18 Thread Mathias Rav
Running git clone --single-branch --mirror -b TAGNAME previously triggered the following error message: fatal: multiple updates for ref 'refs/tags/TAGNAME' not allowed. This error condition is handled in files_initial_transaction_commit(). 42c7f7ff9 ("commit_packed_refs(): remove call