]> granicus.if.org Git - git/commit
files_initial_transaction_commit(): use a transaction for packed refs
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 8 Sep 2017 13:51:49 +0000 (15:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Sep 2017 18:18:04 +0000 (03:18 +0900)
commit1444bfe0271a1dd46283a298e1a43c6565c38271
tree9b6a7da3e5954d210fe130a59890e7826b92e537
parent22b09cdfadf7a48f6503fddf51082c66541cf1d6
files_initial_transaction_commit(): use a transaction for packed refs

Use a `packed_ref_store` transaction in the implementation of
`files_initial_transaction_commit()` rather than using internal
features of the packed ref store. This further decouples
`files_ref_store` from `packed_ref_store`.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c