Merge branch 'mr/packed-ref-store-fix' into maint
commit7e44d8055c76d4e8291d6dae289ebccab1e72aab
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Mar 2018 21:24:10 +0000 (22 14:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Mar 2018 21:24:10 +0000 (22 14:24 -0700)
tree0e75227f132a734d79dac0825ca134e69281d1fa
parent721dce003f53fe513f513ecfea592dedd60573f2
parent81fcb698e03543d35c93ec6726a830aa6b9c5167
Merge branch 'mr/packed-ref-store-fix' into maint

Crash fix for a corner case where an error codepath tried to unlock
what it did not acquire lock on.

* mr/packed-ref-store-fix:
  files_initial_transaction_commit(): only unlock if locked
refs/files-backend.c